Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
apache, .htaccess, authentication
Old 05-22-2008, 01:05 PM apache, .htaccess, authentication
Average Talker

Posts: 17
Trades: 0
I have a question. I have tinkered with it a bit but have not been able to come up with a working solution.

I am trying to protect a site with a username and password using basic authentication with a .htaccess file

example domain.com

but under this domain there is a directory that I do wish to make public without authentication.

example domain.com/server_downloads

I'm tried setting a AllowOveride to none for this directory but it still takes the parent directories directive to authenticate.

Any input is very much appreciated.

Thank you
Spin Stylez is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-25-2008, 07:28 AM Re: apache, .htaccess, authentication
kickIT's Avatar
Novice Talker

Posts: 8
Trades: 0
Not sure if this will help:
http://www.htaccesstools.com/htaccess-authentication/

Or try this tut:
http://www.technotrade.com/htaccess.html

Last edited by kickIT; 05-25-2008 at 07:31 AM..
kickIT is offline
Reply With Quote
View Public Profile
 
Old 05-29-2008, 08:55 PM Re: apache, .htaccess, authentication
Arenlor's Avatar
Ultra Talker

Posts: 462
Name: Jerod Lycett
Location: /home/arenlor
Trades: 0
Add the following to that .htaccess for that directory
Code:
Allow from all
Satisfy Any
__________________
PHP Code:
<?php echo "Hello World"?>
HTML Code:
<html><head><title>Hello World</title></head><body><p>Hello World</p></body></html>
Arenlor is offline
Reply With Quote
View Public Profile Visit Arenlor's homepage!
 
Reply     « Reply to apache, .htaccess, authentication
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.65107 seconds with 12 queries