svn doesn't show any php files

Added by Nicolas Gibelin over 11 years ago

Hello,

I haven't seen exactly this problem in the howto's and in the FAQ so I ask here.

I use redmine and all works fine but I have a problem with the svn viewer. It works perfectly excepted for the php files viewer, as you can see here

I wonder if it can be an url rewriting problem.
After installation, redmine worked fine but had no design. After some researches, I found the problem in this forum: delete the /public/.htaccess file. Now, it works but I wonder if this file is not useful finally.

If you have any idea...

Thank you :)

Replies (7)

RE: svn doesn't show any php files - Added by Thomas Lecavelier over 11 years ago

Look funny since it fails in 404.

Not a php pro, but, could it be a collision between redmine restful url and mod_php?

RE: svn doesn't show any php files - Added by Nicolas Gibelin over 11 years ago

Indeed, it could be possible. After testing, the .htaccess file is not in question at all.

RE: svn doesn't show any php files - Added by Eric Davis over 11 years ago

Not a php pro, but, could it be a collision between redmine restful url and mod_php?

I think so since that's an Apache 404 page and not the Redmine 404 page. A solution might be to turn off mod_php for the subdomain you have Redmine hosted on.

Eric

RE: svn doesn't show any php files - Added by Nicolas Gibelin over 11 years ago

Yes, I think too but I'm not able to find what to do.

Could you help me for that ?
What is the best way ? Write a condition on php files in the .htaccess ?
Say in a mod_php conf file that it must not be enablefor the redmine domain ?

I've noticed that if I add a '/' at the end of the url where I get the error, it works, like it was a directory.
So, I've tried to add a rule in the .htaccess like that: RewriteRule ^(.+)\.php$ $1\.php/ [L]
But it doesn't work.

Thank you again for your help

RE: svn doesn't show any php files - Added by Celso Andrade over 11 years ago

nicholas did you find an solution for your problem.

i having the same problem here.

thanks

RE: svn doesn't show any php files - Added by Eike Bernhardt about 11 years ago

Just faced the same problem, it is indeed a conflict with mod_php.

I've added

php_value engine off

to my VirtualHost config, thus turning php off and my php files in repositories show up now.

RE: svn doesn't show any php files - Added by Nicolas Gibelin about 11 years ago

Indeed, it worked ! Thank you very much for sharing !

(1-7/7)