Page MenuHomePhabricator

Webservers mis-configured
Closed, DeclinedPublic

Description

I have the exact same code in two locations.
http://tools.wmflabs.org/betacommand-dev/refs/article_count.py?user=Maile66
and
http://tools.wmflabs.org/betacommand-dev/cgi-bin/article_count.py?user=Maile66

I try to keep all my executing code in one place cgi-bin. This works perfectly in the toolserver but on labs the exact same code wont work in one place while it will in another.


Version: unspecified
Severity: normal

Details

Reference
bz54077

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:12 AM
bzimport added a project: Toolforge.
bzimport set Reference to bz54077.

To clarify, are there symlinks involved?

By default, our current setup is very paranoid about symlinks; and will only follow them under very restricted circumstances (the owner of both ends match, the directory is in the document root, the non-writeability of directories)

This is necessary for security, but could be tuned if needed. Also, you can set FollowSymlinks in .htaccess that has looser standards.

The issue is I have other scripts that are in the same location and use the same symlinks and work fine. The odd thing about this is that the script now works (I have changed nothing between then and now)

that... is troubling. Do you have time windows so I can go take a detailed look at the logs?

Betacommand, is this still happening for you?

I havent posted any new cgi scripts recently and I have moved to the newweb so I have no clue.

(In reply to comment #8)

I havent posted any new cgi scripts recently and I have moved to the newweb
so
I have no clue.

Thanks. If the issue reoccurs, please reopen the bug.