| Can i add to htaccess file. [message #888] |
Sun, 24 February 2008 23:42 |
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
|
|
|