- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- apache problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 08:32 AM
тАО05-05-2009 08:32 AM
1)i want to open one particular folder through access web browser
2) i configured in httpd.conf
Options FollowSymLinks
AllowOverride None
AuthType Basic
AuthName "Restricted Files"
AuthUserFile /usr/local/apache/passwd/passwords
Require user test
3) if iam opening http://localhost/test2
it asking username passwd (if i am entered wrong passwd it is saying wrong user name & passwd)
4) once i enterd the user name passwd correct it is accpeting
After that it is showing
Forbidden
You don't have permission to access /test2/ on this server.
pls any one help me sorry for the poor english
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 10:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 12:00 PM
тАО05-05-2009 12:00 PM
Re: apache problem
Missing information to solve this.
What is the root directory of the server in httpd.conf Perhaps post the whole file.
What does the .htaccess file say on this directory.
Permission from the OS on test2 can impact this problem.
What does the access_log and error_log say when you try and access?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2009 02:11 AM
тАО05-29-2009 02:11 AM
Re: apache problem
have u tried setting AllowOverride None to AllowOverride AuthConfig?
HTH
regards
Matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2009 12:52 PM
тАО05-30-2009 12:52 PM
Re: apache problem
Are there other realms that require passwords?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 02:13 AM
тАО06-02-2009 02:13 AM
Re: apache problem
This means that anything beneath / will automatically implicitly switch to deny all unless it finds a contradicting explicit Allow rule in the respective
So either change the Order in your AuthType Basic container to "Order deny,allow" (which implicitly falls back to allow all), or explicitly add an "Allow from all" or an IP address/network (range).
If you go for the IP address restriction and you want both Basic authentication *and* by source IP address access restrictions to take effect you also need to insert a "Satisfy all" into your container.
After having edited the changes to your httpd.conf send the master httpd a SIGUSR1 (graceful) or SIGHUP and retry accessing.