- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- apache directory restriction
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
тАО06-12-2007 01:14 AM
тАО06-12-2007 01:14 AM
apache directory restriction
I have apache running on RHEL v.4 , i want to add a directory on htdocs which can be acceseed from a certain IP's , how should i do this , i think on a way to make this directory works on a certain port (add another port to apache) and this who have the write to use this port will see it , kindly your help in how to do this or any new idea.
BR;
Fadia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 02:45 AM
тАО06-12-2007 02:45 AM
Re: apache directory restriction
http://home.golden.net/htaccess.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 02:46 AM
тАО06-12-2007 02:46 AM
Re: apache directory restriction
Putty the server on another port hides it, it does not prevent access.
You might try password control into the site.
Here is a guide.
http://bignosebird.com/apache/a10.shtml
Creating private access. Managing this password file can get to be a pain if there are a lot of users.
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
тАО06-13-2007 12:57 AM
тАО06-13-2007 12:57 AM
Re: apache directory restriction
AllowOverride AuthConfig
order allow,deny
Allow from 10.0
This will allow the access to the directory from 10.0.0.0/16, but will block all others.
As for running on a different port:
If you want to create a specific virtual host - then:
where instead of 80 can be any port - that's not in use.
or
locate the line
Listen 80
and change the number to any unused port.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 01:52 AM
тАО06-13-2007 01:52 AM
Re: apache directory restriction
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 01:56 AM
тАО06-13-2007 01:56 AM
Re: apache directory restriction
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 02:00 AM
тАО06-13-2007 02:00 AM
Re: apache directory restriction
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 02:14 AM
тАО06-13-2007 02:14 AM
Re: apache directory restriction
http://www.webmasterworld.com/forum92/2340.htm