ispCP - Board - Support
strage beahviour of apache.. auto mod_rewrite? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: strage beahviour of apache.. auto mod_rewrite? (/thread-7117.html)



strage beahviour of apache.. auto mod_rewrite? - Lordek - 07-04-2009 02:27 AM

Hi, I have ispcp 1.0 installed in a up-to-day debian Lenny.
First apologize by my bad spelling

When I access to one folder through http if there is any *.php script there apache shows the php file instead of the folder content.
Example:

-domain.com
|-httdocs
-|- httdocs/file.php
-|- httdocs/file/
--|-httdocs/file/example.php

when i browse http://www.domain.com/file/example.php it redirect to the file.php script. If there is no *.php with the same name of the path it browse correctly. It happens no matter how many subfolders I browse (with domain.com/file/hello/this/is/one/example/)

There is not .htaccess with modrewrite rule and it occurs with ALL the domains.


RE: strage beahviour of apache.. auto mod_rewrite? - joximu - 07-04-2009 04:46 PM

hhm.. strange
I never read about such a behaviour...
at least not the second...
the one thing "show the php-file content instead of running the php commands" seems to be a misconfiguration of fastcgi or fcgid (or not installed ...cgi module)

is it also in the ispcp (vu2000 virtualhost) virtualhost? or only in the customer domains?

If you disable mod_rewrite (teporarly) you maybe can see a difference and then you can focus on a this...

Is there nothing in the apache logs?

/J


RE: strage beahviour of apache.. auto mod_rewrite? - kilburn - 07-04-2009 10:10 PM

I think this is a MultiViews issue Wink


RE: strage beahviour of apache.. auto mod_rewrite? - joximu - 07-05-2009 08:22 AM

good idea!


RE: strage beahviour of apache.. auto mod_rewrite? - Lordek - 07-06-2009 02:12 AM

I have upgrade the kernel this morning, i rebooted and the problem disappeared : ?