ok,

I got clean URL working fine... But now I can't access any directories that I add under root.

I can't acces phpmyadmin at http://intranet/phpmyadmin/
or any other application I add.

I tried adding .htaccess in the /phpmyadmin/ directoroy and turning Modrewrite OFF.
Didn't work... Any ideas ?

How to I use separate directories, with clean urls turned on.

Thanks !
Marcel
http://01ftp.com

Comments

morbus iff’s picture

See below, replacing /wiki with whatever you need it to be (/phpmyadmin, etc.):

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/wiki.*
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

http://disobey.com/
http://gamegrene.com/

pamphile’s picture

I did as you said... But that didn't work :s . Added 6 directories in this case.

RewriteCond %{REQUEST_FILENAME} !/phpmyadmin.*
RewriteCond %{REQUEST_FILENAME} !/script.*
RewriteCond %{REQUEST_FILENAME} !/past.*
RewriteCond %{REQUEST_FILENAME} !/shareware.*
RewriteCond %{REQUEST_FILENAME} !/01businesses.*
RewriteCond %{REQUEST_FILENAME} !/my.*

http://01wholesale.com

morbus iff’s picture

Unfortunately, I know little about Windows Apache, so I'm not sure why it doesn't work for you. As you can see over at http://gamegrene.com/ (and http://gamegrene.com/wiki/), it works just fine for me.

http://disobey.com/
http://gamegrene.com/

geekarena’s picture

In case it might be useful to someone:
I got this to work (for an install of MT in a subdirectory, no less) by making sure my extensions in MT were php, then editing the last line to take out the ?q=$1 bit

Success’s picture

Can my sites in a drupal multi sites configuration, have their own subdirectories?

I am using multi sites with domain parking.

But I am facing difficulities creating subdirectories for each of them.

Tommy Sundstrom’s picture

A simular discussion: http://drupal.org/node/12454

pamphile’s picture

Since this is a problem from the development point of view... the only solution I can see is to install apache on another port and directory.

http://127.0.0.1:8080/phpmyadmin
c:\appserv2\www\phpmyadmin

I really don't want to do that though...

anybody else got susggestions ?

http://01wholesale.com