.htaccess issue

soeren

Joined: 2002-10-21
Posts: 1
Posted: Mon, 2002-10-21 11:04

I have an issue with .htaccess.

I run Gallery on a postnuke site, that is secured via a .htaccess file. This in such a way that the postnuke site can only be accessed with the correct user ID and password.

I have placed a .htaccess file in the root of the postnuke site, Ie. /hotel/mydomain/postnuke. I have furthermore installed Gallery in /hotel/mydomain/postnuke/modules/gallery. So when I now access Postnuke via http://www.mydomain.dk/postnuke I am prompted for a password. So far all is well.

The problem is, that when I access Gallery from within postnuke (after having been authed once)I am again prompted for a password. I am not prompted for a password when I access any other Postnuke module. I am aware that this is most likely caused by the fact that Gallery has its own .htaccess file in the Gallery directory. I am however unable to fix this issue. Any help would be much appreciated!

I have not posted this in the Nuke section, as I dont think the issue is related to Nuke, but rather to the setup with Gallery within a .htaccess protected site. :wink:

*******UPDATE*******
After having played around a bit with my site, I have come to the conclussion that the problems lies with Internet Explorer 6.0, at it seems to work with other browsers. Anyone know what setting that needs to be changed in IE???

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2002-10-22 20:41

By default, Gallery's .htaccess file doesn't include any authentication requirements, so it should not cause you to have to re-authenticate. What happens if you temporarily remove Gallery's .htaccess file? Does the problem go away? How about if you use a blank one?