I want http://localhost ---> /var/www/html/mainpage/
and still have documentroot as /var/www/html/ and still have people access http://localhost/another -----------> /var/www/html/another > <IfModule mod_alias.c> > ... > Alias <path-relative to your domain root> <absolute path on your > system> > > # for example: > # Alias /matt /home/mbaluyos/public_html/ > # http://localhost/matt will now map to > /home/mbaluyos/public_html > ... > </IfModule> > > then restart your httpd (service httpd restart) > > or, you can also use symlinks by doing something like: > > ln -sf /home/mbaluyos/public_html /var/www/html/matt > > which does the same thing as above. note that in the second example, symlinks > can be disabled by your sysad by changing the FollowSymLinks option in the > apache configuration (your symlinks would then not work). more importantly, > it's a lot less secure because anyone can link to important files and read > them via their browser. > > -- > Matt Arnilo S. Baluyos > Research and Software Development > System Net International, Inc. - Philippines > -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
