I am using XAMPP version 1.5.3a in Windows XP and cannot figure out how to get friendly URL's working with virtual host. I have enabled the Friendly URLs feature (If your server is running off of apache and has Mod Rewrite enabled, then you can turn this setting on to make your URLs more user friendly) in my the Subdreamer CMS control panel. I have removed the # from the LoadModule rewrite_module modules/mod_rewrite.so in my httpd.conf to enable Mod Rewrite.
I have also changed in my httpd.conf to allow overide all.
This is what my httpd-vhosts.conf looks like for virtual hosts...
- Code: Select all
# Virtual Hosts
# If you want to maintain multiple domains/hostnames on your<br>
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
# Please see the documentation at
# for further details before you try to setup virtual hosts.
# You may use the command line option '-S' to verify your virtual host
# Use name-based virtual hosting.
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
DocumentRoot "C:/Program Files/xampp/htdocs/www/GamerQuest"
I keep getting an error 404 when i try my links with Friendly Urls enabled and my error log states...
- Code: Select all
[Sun Aug 13 12:49:41 2006] [error] [client xx.xxx.xxx.xx] File does not exist: C:/Program Files/xampp/htdocs/www/GamerQuest/gallery, referer: http://www.gamerquest.com/
If i disable the Friendly URLs in my Subdreamer CMS everythng works fine (as far as Virtual Hosts go) but friendly URLs do not show.
Any ideas on what my problem might be?