Welcome Guest, Not a member yet? Register   Sign In
.htaccess for multiple applications?
#12

[eluser]Rein Van Oyen[/eluser]
Again; thanks for the replies.

I have reorganised my folder structure and renamed the admin.php to index.php and placed it in a new folder called admin.

I'm using this in my htaccess;

Code:
RewriteEngine On

Options Indexes FollowSymlinks Multiviews
RewriteBase /

RewriteCond $1 !^(index\.php|admin|_images|_css|_js|_uploads|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

Everything works just fine, except that the /admin/ folder does not automatically point to the index.php in it. It show me a list of all files in it (opendir). So do the other folders I excluded from the rule.

Anyone who has a clue?

(Sorry for stretching this thread for so long, me + mod_rewrite = no good idea)


Messages In This Thread
.htaccess for multiple applications? - by El Forum - 02-11-2011, 09:31 AM
.htaccess for multiple applications? - by El Forum - 02-11-2011, 02:38 PM
.htaccess for multiple applications? - by El Forum - 02-13-2011, 09:19 AM
.htaccess for multiple applications? - by El Forum - 02-14-2011, 01:14 PM
.htaccess for multiple applications? - by El Forum - 02-15-2011, 03:16 AM
.htaccess for multiple applications? - by El Forum - 02-17-2011, 01:45 AM
.htaccess for multiple applications? - by El Forum - 02-17-2011, 02:04 AM
.htaccess for multiple applications? - by El Forum - 02-17-2011, 07:55 AM
.htaccess for multiple applications? - by El Forum - 02-28-2011, 09:25 AM
.htaccess for multiple applications? - by El Forum - 02-28-2011, 09:51 AM
.htaccess for multiple applications? - by El Forum - 02-28-2011, 06:37 PM
.htaccess for multiple applications? - by El Forum - 03-03-2011, 03:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB