Linux.com

local development enviorment

Link to this post 05 Jul 13

I'm trying to create a local development environment on ubuntu.

I've imported an existing website that I've created on windows.
All the css \ images\ js and links are relative to the root's path, example:

/css/test.css

On my local host it should be

/mysite/css/test.css

I can't figure out how to fix it.. I've added a virtual host, updated the hosts file and even added some new rows to my htaccess..

But without any change..

Thank you!

Link to this post 14 Jul 13

Have you confirmed that the directories have been stored in the DirectoryRoot as it is listed in your httpd config file?

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board