[vox-tech] Apache: 2, Me: 0.
Peter Salzman
p at dirac.org
Tue Feb 15 11:31:12 PST 2011
On Tue, Feb 15, 2011 at 12:26 PM, Cam Ellison <cam at ellisonet.ca> wrote:
> On 11-02-15 08:56 AM, Peter Salzman wrote:
>>
>> OK, I commented out all the virtual host stuff and changed ports.conf to:
>>
>> Listen 80
>> <IfModule mod_ssl.c>
>> # SSL name based virtual hosts are not yet supported, therefore no
>> Listen 443
>> </IfModule>
>> ServerName dirac.org
>>
>> and Apache is still not responding to requests from outside my LAN.
>>
>> This is crazy! I've never had so much trouble with this before. The
>> packets are clearly coming in. Could there be some kind of crazy
>> packet header rewriting to make the packets look like they're destined
>> for somewhere else (like the DSL modem)?
>>
>> Rod, do you have any other ideas?
> Maybe I missed something in this discussion, but it looks as though you
> have duplicate ServerName entries and Port assignments. You can't do
> that - at least, not with impunity. Use your sites-enabled file to
> specify the site and port(s), and take the corresponding entries out of
> apache.conf. You also have conflicting site names between the two files.
>
> HTH
>
> Cam
Hi Cam!!!
When I take out the ServerName directive from apache2.conf and restart
the server, I get the following warning:
root at satan:/etc/apache2# /etc/init.d/apache2 restart
* Restarting web server
apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.0.1 for ServerName
... waiting apache2: Could not reliably determine the server's fully
qualified domain name, using 127.0.0.1 for ServerName [ OK ]
I thought the ServerName within a virtual hosts directive indicates
which name that particular virtual host responds to but the general
ServerName is used (for some purpose) by the general web server? I
tried taking the ServerName out of apache2.conf and got the error
message above. Still didn't work, unfortunately,
Where is the ports assignment done twice?
I'm posting the relevant conf files. Would be supremely grateful to
anyone who takes a look at them. I'm really frustrated and humbled by
this problem. :-( :-( dirac.org and iuselinux.org are both in
sites-enabled / sites-available.
Thank you!!
Pete
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apache2.conf
Type: application/octet-stream
Size: 8057 bytes
Desc: not available
Url : http://lists.lugod.org/pipermail/vox-tech/attachments/20110215/a640a7aa/attachment-0004.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dirac.org
Type: application/octet-stream
Size: 296 bytes
Desc: not available
Url : http://lists.lugod.org/pipermail/vox-tech/attachments/20110215/a640a7aa/attachment-0005.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iuselinux.org
Type: application/octet-stream
Size: 314 bytes
Desc: not available
Url : http://lists.lugod.org/pipermail/vox-tech/attachments/20110215/a640a7aa/attachment-0006.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ports.conf
Type: application/octet-stream
Size: 483 bytes
Desc: not available
Url : http://lists.lugod.org/pipermail/vox-tech/attachments/20110215/a640a7aa/attachment-0007.obj
More information about the vox-tech
mailing list