View Single Post
  #2 (permalink)  
Old 12-31-08, 08:44 PM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,516
Thanks: 20
Thanked 109 Times in 106 Posts
A very simple solution may be to set DocumentRoot to:

/home/mywebsite/www

then you don't need a redirect or anything.

http://httpd.apache.org/docs/2.0/mod...l#documentroot

You can't do this in the .htaccess file, you would have to do it in the server configuration or virtual host files. Your hosting provider could do that for you.

Another option would be to simply link down to the subdirectories from the www, using the commands like so:

Code:
cd /home/mywebsite/www
ln -s www/sol
Reply With Quote