Current time: 12-28-2024, 05:16 AM Hello There, Guest! (LoginRegister)


Post Reply 
strage beahviour of apache.. auto mod_rewrite?
Author Message
Lordek Offline
Junior Member
*

Posts: 22
Joined: May 2008
Reputation: 0
Post: #1
strage beahviour of apache.. auto mod_rewrite?
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.
07-04-2009 02:27 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: strage beahviour of apache.. auto mod_rewrite?
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
07-04-2009 04:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #3
RE: strage beahviour of apache.. auto mod_rewrite?
I think this is a MultiViews issue Wink
07-04-2009 10:10 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: strage beahviour of apache.. auto mod_rewrite?
good idea!
07-05-2009 08:22 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Lordek Offline
Junior Member
*

Posts: 22
Joined: May 2008
Reputation: 0
Post: #5
RE: strage beahviour of apache.. auto mod_rewrite?
I have upgrade the kernel this morning, i rebooted and the problem disappeared : ?
(This post was last modified: 07-06-2009 02:27 AM by Lordek.)
07-06-2009 02:12 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)