Home » Htaccess Tools » Questions regarding htaccess » Can i add to htaccess file.
Can i add to htaccess file. [message #888] Sun, 24 February 2008 23:42
eng65  is currently offline eng65
Messages: 1
Registered: February 2008
I do not know if this about htaccess, but i need help with this problem.
On my htaccess file is this:
------------------------------------------------------------ -----

# Protect files
<Files ~ "^(.*)\.(inc|inc\.php|tpl|sql)$">
Order deny,allow
Deny from all
</Files>

# Protect directories
<Files ~ " ^(files|images|include|lang|libs(/.+)?|temp(/.+)?|templates( /.+)?|javascripts(/.+)?)$ ">
Order deny,allow
Deny from all
</Files>

# Disable directory browsing
Options -Indexes

# Follow symbolic links in this directory
Options +FollowSymLinks

# Set the default handler
DirectoryIndex index.php

# URL rewrite rules
<IfModule mod_rewrite.c>
RewriteEngine On

## Category redirect
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
------------------------------------------------------------ -----
On my host server /home/mysite/myphpfiles/mynewdir/index.php
What i am trying to say is, My site address:
http://mysite.com

I have added a new dir to my site. So, http://mysite.com/newdir how can i access this dir?
I do not want to create a seperate domain, just to show a simple page?

Thanks,
Eng65







Previous Topic:File Uploading
Next Topic:htpasswd login form
Goto Forum:
  


Current Time: Mon May 12 02:01:15 CEST 2008
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7.
Copyright ©2001-2007 FUD Forum Bulletin Board Software