New instalation of wamp, virtualhost, mod_rewrite not working
Posted by: xciza (---.i4g.tmcz.cz)
Date: October 06, 2014 05:39PM

Hi,
I recently installed wamp on my computer and set virtualhost for my project. Turn on mod_rewrite, but if i go to page, homepage is displayed but if I want to go to other page, it ends width 404 Not found and message The requested URL was not found on this server.

This is what i have in httpd-vhosts.conf:
<Directory G:/path to projects folder>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
Allow from all
</Directory>

<VirtualHost *:80>
DocumentRoot "G:\path to projects folder\project\www"
ServerName project.local
</VirtualHost>

What can be wrong please?

Thanks a lot.
Martin

Options: ReplyQuote
Re: New instalation of wamp, virtualhost, mod_rewrite not working
Posted by: Otomatic (Moderator)
Date: October 06, 2014 07:04PM

Hi,
The contents of your file httpd-vhosts.conf absolutely does not correspond to what is explained in:WAMPServer 2.5 The Homepage, Your Projects Menu and the need for Virtual Hosts

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.