Last modified: 2013-12-29 00:05:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T56077, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54077 - Webservers mis-configured
Webservers mis-configured
Status: RESOLVED WORKSFORME
Product: Wikimedia Labs
Classification: Unclassified
tools (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Marc A. Pelletier
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-12 14:27 UTC by Betacommand
Modified: 2013-12-29 00:05 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Betacommand 2013-09-12 14:27:56 UTC
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.
Comment 1 Marc A. Pelletier 2013-09-12 18:53:36 UTC
To clarify, are there symlinks involved?
Comment 2 Betacommand 2013-09-12 18:54:40 UTC
yes
Comment 3 Marc A. Pelletier 2013-09-12 19:35:03 UTC
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.
Comment 4 Betacommand 2013-09-12 21:01:10 UTC
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)
Comment 5 Marc A. Pelletier 2013-09-12 22:59:47 UTC
that...  is troubling.  Do you have time windows so I can go take a detailed look at the logs?
Comment 6 Betacommand 2013-09-12 23:02:59 UTC
1340-1420 UTC today roughly
Comment 7 Tim Landscheidt 2013-12-28 16:26:39 UTC
Betacommand, is this still happening for you?
Comment 8 Betacommand 2013-12-28 17:04:06 UTC
I havent posted any new cgi scripts recently and I have moved to the newweb so I have no clue.
Comment 9 Tim Landscheidt 2013-12-29 00:05:41 UTC
(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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links