Page 1 of 1

how create a intro

Posted: Fri Jan 07, 2011 9:36 pm
by tsm
please somebody help me.
I want create intro before index.php in my website.

Re: how create a intro

Posted: Fri Jan 07, 2011 9:41 pm
by johnnet
from what i've learned, i modify .htacess header with these code.

Code: Select all

DirectoryIndex index.html, index.php
index.html/htm/ anything that your server supports. hope it helps :)

Re: how create a intro

Posted: Fri Jan 07, 2011 9:56 pm
by tsm
johnnet wrote:from what i've learned, i modify .htacess header with these code.

Code: Select all

DirectoryIndex index.html, index.php
index.html/htm/ anything that your server supports. hope it helps :)
can you show me, your sample .htaccess??
still error for access web.

Re: how create a intro

Posted: Fri Jan 07, 2011 10:00 pm
by johnnet

Code: Select all

DirectoryIndex index.html /admin/index.php








# Prevent Directoy listing 

Options -Indexes

# Prevent Direct Access to files

<FilesMatch "\.(tpl|ini)">
 Order deny,allow
 Deny from all
</FilesMatch>



# SEO URL Settings

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]


Re: how create a intro

Posted: Fri Jan 07, 2011 10:02 pm
by tsm
johnnet wrote:

Code: Select all

DirectoryIndex index.html /admin/index.php








# Prevent Directoy listing 

Options -Indexes

# Prevent Direct Access to files

<FilesMatch "\.(tpl|ini)">
 Order deny,allow
 Deny from all
</FilesMatch>



# SEO URL Settings

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]

thanks, i will try..