Post by tsm » Fri Jan 07, 2011 9:36 pm

please somebody help me.
I want create intro before index.php in my website.

my blog : http://aroeltsm.blogspot.com , http://www.themesoca.com


User avatar
tsm
New member

Posts

Joined
Tue Dec 07, 2010 2:24 pm

Post by johnnet » Fri Jan 07, 2011 9:41 pm

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 :)

User avatar
Active Member

Posts

Joined
Tue Aug 17, 2010 7:06 pm

Post by tsm » Fri Jan 07, 2011 9:56 pm

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.
Last edited by tsm on Fri Jan 07, 2011 10:01 pm, edited 1 time in total.

my blog : http://aroeltsm.blogspot.com , http://www.themesoca.com


User avatar
tsm
New member

Posts

Joined
Tue Dec 07, 2010 2:24 pm

Post by johnnet » Fri Jan 07, 2011 10:00 pm

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]


User avatar
Active Member

Posts

Joined
Tue Aug 17, 2010 7:06 pm

Post by tsm » Fri Jan 07, 2011 10:02 pm

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..

my blog : http://aroeltsm.blogspot.com , http://www.themesoca.com


User avatar
tsm
New member

Posts

Joined
Tue Dec 07, 2010 2:24 pm
Who is online

Users browsing this forum: No registered users and 12 guests