httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33679] New: - DocumentRoot location on different partition fails
Date Mon, 21 Feb 2005 20:32:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33679>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33679

           Summary: DocumentRoot location on different partition fails
           Product: Apache httpd-2.0
           Version: 2.0.52
          Platform: PC
               URL: http://www.gunrdev.com
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: elliott_sb@hotmail.com


I ran Apache after the RPM install with PHP and mod_ssl on Fedora Core 3 and it
worked great.  Then I changed DocumentRoot and the related Directory to
/public_html/www and attempted to restart the server.  Apache would not start. 
No results from the lsof -i:80 command, and no httpd.pif file comfirmed that. 
No error log is produced and no error message appears in the terminal.

On my machine, /public_html is /dev/sda1 (SATA drive) and has a single partition
formatted as ext3 and mounted as /public_html. /public_html and /public_html/www
both have 755 as permissions.

Next I tried to get sneaky. I changed the DocumentRoot and Directory back to
/var/www/html (default). Then I created /var/www/html.link, which is a symbolic
link to /public_html/www. Then I ran apachectl startssl and renamed
/var/www/html.link to /var/www/html and renamed the actual folder /var/www/html
to /var/www/html.old.

Well, it was sneaky, but it didn't work.  I got the 403 error with "You don't
have permission to access / on this server."

I am able to change the DocumentRoot to other directories under /var.

What it seems to boil down to is that I can't change DocumentRoot to a location
on a partition other than the one where Apache is installed.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message