Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

.htaccess problem

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

.htaccess problem

Postby zans » Wed Oct 31, 2012 4:43 am

Code: Select all
Options +FollowSymLinks

RewriteEngine on

RewriteBase   /admin

RewriteRule admin/.(htm|html|js|ico|gif|jpg|png|css|jpeg|swf|flv|php|zip|gzip|htc)$ xxx.php [L]

RewriteCond %{REQUEST_URI} !\.(htm|html|js|ico|gif|jpg|png|css|jpeg|swf|flv|php|zip|gzip|htc)$

RewriteRule (.*) index2.php

What is the problem? it's dosen't work
New php-forum User
New php-forum User
Posts: 1
Joined: Wed Oct 31, 2012 4:28 am

Return to PHP coding => General

Who is online

Users browsing this forum: Google [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.