M
M
mcavalon2017-05-01 23:12:40
Apache HTTP Server
mcavalon, 2017-05-01 23:12:40

How to raise port 80?

Rebooted the system and found all hosts on port 80 do not work, display "It works". Has anyone experienced this and can help?
ps 443 port is working.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Frank, 2017-05-01
@mcavalon

Look what took port 80?
Is there a possibility that the OS has been updated?

D
dummyman, 2017-05-01
@dummyman

This is strange. After all, just on port 443, virtual hosts should work as one virtual host, because HTTP browser does not send ServerName headers.
Look at the config. From the manual

NameVirtualHost *:80    
<VirtualHost *:80>
    ServerName localhost
    ServerAdmin [email protected]
    DocumentRoot "/Users/USERNAME/sites"  
    ErrorLog "/Users/USERNAME/sites/error.log"
    <Directory "/Users/USERNAME/sites">
          Options Indexes FollowSymLinks
          AllowOverride All
          Order allow,deny
          Allow from all
    </Directory>
</VirtualHost>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question