USA Linux Users Group Forum Index
Log in Register FAQ Memberlist Search USA Linux Users Group Forum Index Album

.htaccess files

 
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Servers and Server Administration
View previous topic :: View next topic  
Author Message
crouse
Site Admin


Joined: 17 Apr 2003
Posts: 11799
Location: Iowa

PostPosted: Fri Apr 18, 2003 7:58 pm    Post subject: .htaccess files Reply with quote

When building a website that is hosted on an apache based server, you have at your disposal a very powerful tool in the .htaccess files.

A few good links on the subject:

http://www.devwebpro.com/devwebpro-39-20030416htaccess-Magic.html

http://javascriptkit.com/howto/htaccess.shtml

http://www.hostingmanual.net/other/htfun.shtml

Hopefully you find some good information there, as I have.

Very Happy


Back to top
View user's profile Send private message Visit poster's website AIM Address
crouse
Site Admin


Joined: 17 Apr 2003
Posts: 11799
Location: Iowa

PostPosted: Tue Jun 22, 2004 4:28 pm    Post subject: Reply with quote

Prevent viewing of .htaccess or other file
Code:

 <Files .htaccess>
order allow,deny
deny from all
</Files>


Block Ip address's from accessing your site:
Code:

 <Limit GET>
order deny,allow
deny from 123.456.789.000
deny from 456.78.90.
deny from .aol.com
allow from all
</Limit>


Most people turn of the default setting for directory browsing, this can be enabled on a per directory basis with an .htaccess file simply add to your .htaccess file for that directory ...
Code:

Options +Indexes


Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Servers and Server Administration All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All content © 2003-2009 - Usa Linux Users Group
This forum is powered by phpBB. © 2001-2009 phpBB Group
Theme created by phpBBStyles.com and modified by Crouse