Welcome Guest, Not a member yet? Register   Sign In
[emergency] my second application doesn't run...
#3

(This post was last modified: 01-06-2016, 11:25 AM by lama.)

Hi,

PHP Code:
// in admin
$config['base_url']    = 'http://www.monsite.com/admin/';

// in frontend
$config['base_url']    = 'http://www.mysite.com/'


I tryed this .htaccess in /admin

PHP Code:
<IfModule mod_rewrite.c>
    
Options +FollowSymLinks
    Options 
-Indexes
    RewriteEngine On
    RewriteBase 
/

    
RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond 
%{REQUEST_FILENAME} !-d

    RewriteCond 
$!^(index\.php|admin|images|assets|favicon\.ico|rss\.xml|sitemap\.xml|BingSiteAuth\.xml|robots\.txt)

    
RewriteRule ^(.*)$ index.php [L]
</
IfModule

I get the message "Directory access is forbidden." so that the index.html that is loaded... BUT other pages works when I type the url Any idea ?
Reply


Messages In This Thread
RE: [emergency] my second application doesn't run... - by lama - 01-06-2016, 11:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB