Are you only trying to open PHP files or do you get the same issue with CSS and image files?--On Tue, Jun 25, 2013 at 10:30 AM, Kirk Woellert <kdwoell@xxxxxxxxx> wrote:
Hi, I looked at output of a "# httpd -S" command too- didn't see an obvious problem but here it is (pardon all the redaction):------------------[root@[myhostname mysuperuser]# httpd -S[Tue Jun 25 10:06:18 2013] [warn] NameVirtualHost *:443 has no VirtualHostsVirtualHost configuration:[Assigned Public IP Redacted]:443 www.[redacted] (/etc/httpd/conf.d/ssl.conf:78)wildcard NameVirtualHosts and _default_ servers:*:80 is a NameVirtualHostdefault server localhost (/etc/httpd/conf/httpd.conf:1074)port 80 namevhost localhost (/etc/httpd/conf/httpd.conf:1074)alias localhostport 80 namevhost www.[redacted] (/etc/httpd/conf/httpd.conf:1080)alias [redacted]port 80 namevhost [redacted] (/etc/httpd/conf/httpd.conf:1103)alias [redacted]Syntax OK---------------------To summarize, the default Apache localhost website works, the vhost for a live website works, but I cannot get the third vhost for a site under development to be accessible from the Internet- only on the localhost. I cranked up the Apache log level this morning to "debug" and confirmed the SuExec wrapper script is instantiated for the user associated with the third vhost. So its not SuExec. I double checked permissions/ownership, again. So it does not appear to be that. Again, this morning I changed the Order, Allow,Deny directives to "Allow all". Still no access from the Internet. Third vhost only works when I enter its alias in a browser on the server console.As a reminder- I don't have a FQDN for the third vhost site- so I just made a /etc/host temporary entry as mentioned earlier in my post. Therefore when I try to check for public access, I'm always using a physical path in the browser as:http://[redacted public IP]/~[redacted user for 3rd vhost]/[redacted site directory for 3rd vhost]/index.php"as well as a invocation of e.g. wgetdemonstrating the problem."I don't follow what you mean by reference to wget- a unix file transfer utility...-Kirk WoellertOn Tue, Jun 25, 2013 at 9:04 AM, Eric Covener <covener@xxxxxxxxx> wrote:
On Tue, Jun 25, 2013 at 8:39 AM, Kirk Woellert <kdwoell@xxxxxxxxx> wrote:pastebin your apachectl -S output as well as a invocation of e.g. wget
> Update: Still have the same basic problem, I can access the vhost2 from the
> Internet, but can only access vhost3 from the localhost- not from the
> Internet. The behavior in my reply was not repeatable. I tried to completely
> open up access to the vhost3 site by:
demonstrating the problem.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx