How to secure Websites hosted on Apache

Protecting your Linux box

Re:

Postby LinuxFreaK » Tue Jan 06, 2004 7:44 am

Dear Saeeds,
Salam,

Code: Select all

ServerName server

DocumentRoot "/home/httpd/htdocs"

<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

<Directory /mrtg>
    Options FollowSymLinks
    AuthType Basic
    AuthName "Administrator's Only"
    AuthUserFile "/home/httpd/passwd/passwd"
    Require valid-user
    ErrorLog /home/httpd/logs/server_log
</Directory>


Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

RE:

Postby absar » Tue Jan 06, 2004 10:33 pm

Nice Effort by Färrükh Ähmëd but it can be done using .htaccess file technique.

Regards
Absar Naqvi
absar
Cadet
 
Posts: 13
Joined: Sat Nov 29, 2003 11:55 pm
WLM: digitalspinner
Yahoo Messenger: digitalspinner2000
Location: Islamabad

Re: RE:

Postby LinuxFreaK » Wed Jan 07, 2004 1:58 am

Dear Absar,
Salam,

absar wrote:Nice Effort by Färrükh Ähmëd but it can be done using .htaccess file technique.


I just trying to help him what he need. but if people can read some documentation like there is one for Apache at http://httpd.apache.org/docs/ then i think they will get the answer :)

Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

Postby tagoremanu » Sat Jan 17, 2004 6:58 pm

squid wrote:well i need that only authenticated users can access their sites hosted on that server...
tagoremanu
Cadet
 
Posts: 1
Joined: Sat Jan 17, 2004 6:50 pm
WLM: jtagore@hotmail.com
Yahoo Messenger: jtagore@yahoo.com
Location: India


Return to “%s” Security

Who is online

Users browsing this forum: No registered users and 2 guests

cron