A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

July 5, 2013

local development enviorment

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!

Click Here!