| Summary: | Please create a Web Redirect for http://build.eclipse.org/dsdp | ||
|---|---|---|---|
| Product: | Community | Reporter: | Martin Oberhuber <mober.at+eclipse> |
| Component: | Servers | Assignee: | Eclipse Webmaster <webmaster> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| URL: | http://build.eclipse.org/dsdp | ||
| Whiteboard: | |||
Actually, it's an Alias :) Here's what I added to our Apache config to do this: Alias /dsdp "/opt/public/dsdp/public_html" <Directory "/opt/public/dsdp/public_html"> AllowOverride AuthConfig FileInfo Order allow,deny Allow from all </Directory> The basic alias works OK, but it looks like that's not everything. Following PHP code works OK for modeling: require_once($_SERVER["DOCUMENT_ROOT"] . "/modeling/includes/x.php"); --> It gets /opt/public/modeling/public_html/includes/x.php --> Supposedly as /opt/public/modeling/modeling/includes/x.php Whereas this tells me "file not found" for dsdp: require_once($_SERVER["DOCUMENT_ROOT"] . "/dsdp/includes/x.php"); It looks like PHP thinks the DOCUMENT_ROOT is /opt/public/modeling, could that be? Also, the following page returns "Access forbidden" but should be accessible: http://build.eclipse.org/dsdp/tm/rse/downloads/drops/3.0.0/I200802201546/build.cfg File system permissions look OK, could it be that the web server does not allow following symbolic links? - If this is the case, could you fix it such that it works the same way as it works for Modeling? - Thanks! (In reply to comment #2) > It looks like PHP thinks the DOCUMENT_ROOT is /opt/public/modeling, could that > be? The Apache DocumentRoot is set to /opt/public, and there is no specific setting in PHP for modeling. Can you tell me what URL has the include that works for modeling, but not for dsdp? As far as I can tell, you're both set up identically on the server level. modeling may have overriden some values with .htaccess files. (In reply to comment #3) > File system permissions look OK, could it be that the web server does not allow > following symbolic links? Indeed, symlinks are not followed by the web browser. This is a security policy of ours. Closing as WORKSFORME, as I don't know what needs to be done here. Please reopen with more info if you have some. |
I'm trying to set up build.eclipse.org as backup build and release server for DSDP, in addition to our main build server (dsdp.eclipse.org). I saw that for the Modeling project, they redirect web access to http://build.eclipse.org/modeling from the /opt/public/modeling directory into /opt/public/modeling/public_html Can you please set up a similar redirect for http://build.eclipse.org/dsdp (and let me know how it's done, for my education).