.htaccess don'tr works... wamp didn't read it...
Posted by: HovoDiablo (46.71.87.---)
Date: May 09, 2013 01:54PM

hello... Please help me.. .htaccess don;t eork..actualy I thing wamp ignored it... how can I solve this problem.. sorry for my english... its not my own language...thank you very mutch!.

Love---key

Options: ReplyQuote
Re: .htaccess don'tr works... wamp didn't read it...
Posted by: RiggsFolly (---.as13285.net)
Date: May 20, 2013 11:43AM

The ability to use the .htaccess file is controlled by the Apache httpd.conf file.

You must have 'AllowOverride' set for the folder you want to allow it to work in.
By default WAMP has AllowOverride all set but only for its own folder structure i.e. c:\wamp\www and folder below that.

If your site is a virtual host and so in another folder structure you must add that directive for that folder
for example

<VirtualHost *:80>
ServerAdmin webmaster@homemail.net
DocumentRoot "D:/websrc/www/project1"
ServerName project1.dev
ServerAlias project1.dev www.project1.dev
Options Indexes FollowSymLinks
<Directory "D:/websrc/www/project1">
AllowOverride All
Order Deny,Allow
Allow from 127.0.0.1
Allow from 192.168.2
</Directory>
</VirtualHost>

Options: ReplyQuote


Sorry, only registered users may post in this forum.