As some know, I've just installed AMP (Apache + MySQL + Php) + PhpMyAdmin. Now I've set up a Virtual host and it works fine, except for the .htaccess file in the directory. I've made sure mod_rewrite is on and everything. It's not giving a 500 internal error which means its working. But when I type http://dev/Home it will not do what its supposed to.
RewriteEngine on RewriteRule ^Home$ index.php RewriteRule ^Home/$ index.php #^^Does not include styles DONOT USE
# # Virtual Hosts # # If you want to maintain multiple domains/hostnames on your # 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 # <URL:http://httpd.apache.org/docs/2.2/vhosts/> # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. <Directory C:/Server/virtual> Order Deny,Allow Allow from all </Directory> # # Use name-based virtual hosting. # NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot C:/Server/www ServerName localhost </VirtualHost> <VirtualHost *:80> DocumentRoot C:/Server/Virtual/DarkRisingStudios ServerName dev </VirtualHost>
it is working perfectly, except for mod_rewrite.
I know this is more of a Server Question, but php people know what they are talking about through experience.