.htaccess problem

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 1
Joined: Wed Oct 31, 2012 4:28 am

.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

Return to “PHP coding => General”

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 10 guests