jefrey1983

Topic: Cannot Access Admin Page or page unavailable

im using a subdomain
http://subdomain.domain.com/

my .htaccess files from subdomain folders
# AddType x-mapp-php5 .php
# AddHandler x-mapp-php5 .php

RewriteEngine on
#Options +FollowSymlinks

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteBase /careers
ErrorDocument 404 /page-unavailable/

<files ~ "\.tpl$">
order deny,allow
allow from none
deny from all
</files>

my.htaccess from subdomain/admin

RewriteEngine on
Options +FollowSymlinks

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
RewriteBase /careers/admin/
ErrorDocument 404 /page-unavailable/

I been trying to figure it for hours but i can't seem to find the problem. Need help

Last edited by jefrey1983 (2010-03-11 03:51:26)

putypuruty

Re: Cannot Access Admin Page or page unavailable

Hi,

I think that you should remove the trailing slash from RewriteBase /careers/admin/ so that you have RewriteBase /careers/admin

jefrey1983

Re: Cannot Access Admin Page or page unavailable

I tried that before but it didn't work, still says page unavailable

Last edited by jefrey1983 (2010-03-11 09:09:20)