htaccess not working for external domain
Posted by: dquelhas (---.cable.ubr07.enfi.blueyonder.co.uk)
Date: November 27, 2006 12:06AM

Hi,

i'm shure i have something miss configured in my apache, but i have setup htaccess and htpasswd to force user to log in to a specific folder.

If i type in my browser [localhost], it works fine, and if i do that using the internal domain, [192.168.1.101], it works fine aswell.

The problem is, if i try to access the folder via the domain assigned to the virtual host, it ignores the htaccess file (in this case, [mytest.mine.nu]).

My virtual host configuration is listed below:

<VirtualHost *>
ServerName mytest.mine.nu
DocumentRoot "C:/wamp/www/mytest"
ErrorLog "C:/wamp/Apache2/logs/mytest_error_log"
CustomLog "C:/wamp/Apache2/logs/mytest_log" common
<Directory "C:/wamp/www/mytest">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

Can someone give some help?

Thanks in advance,

Dinis


Options: ReplyQuote
Re: htaccess not working for external domain
Posted by: Psychopsia (201.216.175.---)
Date: November 27, 2006 02:01AM

Hi!
Try:

AllowOverride All

Hope this helps!

Options: ReplyQuote
Re: htaccess not working for external domain
Posted by: yfastud (---.cable.mindspring.com)
Date: November 27, 2006 02:19AM

the question is "does your domain have the correct dns setup or not?"

check my old post here

[forum.wampserver.com]

and try my test htaccess web site here username tester and password test

[xalbum.jlbn.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.