Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Issue with conflicting authorization access

Status
Not open for further replies.

pmonett

Programmer
Sep 5, 2002
2,632
FR
I have two virtual hosts configured. One is at the address site1.net, the second is at site1.admin.net.

The directories are seperate.

The access to site1 is to be secured via .htaccess. That works fine, but I found in test that, due to the hierarchy of the site names, site2 is also protected. It shouldn't be.

Why is site2 under the same .htaccess protection as site1 when it doesn't even have a .htaccess file ? What can I do to make site2 "public" again ?

Thanks for any tips,

Pascal.

I've got nothing to hide, and I'd very much like to keep that away from prying eyes.
 
Is the document folder for site2 (site1.admin) located under that for site1 or are they in separate folders off a higher root path?

What I am getting at is, does you system need to "browse" through the document folder for site1 to get to the files for site1.admin and in the process see the .htaccess for site1?
 
The directories are seperate.

That's why I don't understand the issue.

It's just the URL that links them together.

Pascal.

I've got nothing to hide, and I'd very much like to keep that away from prying eyes.
 
Does either your access or error log for Apache provide any clue?

Are these sites configured for HTTPS perchance? If you are using HTTPS with the SNI additions, it will resolve to the first host rather than the named host.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top