[eluser]LuckyFella73[/eluser]
I made a website for a client and use a htaccess file for cleaner urls.
My problem is: the hosting company provides a link to the phpmyadmin
panel, like
domain.com/_pma_/
Now when calling that url I get a "page not found error" ...
My .htaccess currently looks like this:
Code:
Options -Indexes
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php43 .php .php4
AddType application/x-httpd-php5 .php5
<IfModule mod_rewrite.c>
DirectoryIndex index.php
RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
</IfModule>
Info:
- The directory "_pma" is not visible when connected to the server via ftp.
- I tried to add the directory to the htaccess like this (didn't help):
Code:
RewriteCond $1 !^(index\.php|[b]_pma_[/b]|images|css|js|robots\.txt|favicon\.ico)
I don't know how to exclude this directory from url rewriting so any help is much
appreciated!