Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Can't access http anymore (apache2.2) [solved] |
|
Author |
|
boucleinfinie
Joined: 29 Sep 2014 Posts: 2 Location: Canada, Lethbridge
|
Posted: Tue 30 Sep '14 1:49 Post subject: Can't access http anymore (apache2.2) [solved] |
|
|
I made the idiotic move of not making a backup of the default configs and now I can't access my http website externally. ssl works fine, but I need http to work too. I'd like some help getting it up and running if that's alright.
Here's my ports config:
Code: |
NameVirtualHost *:80
Listen 80
NameVirtualHost *:443
<ifModule mod_ssl.c>
Listen 443
</IfModule>
|
The ports config isn't difficult to see that i have it set up right, but i'm posting it just in case. My server is in a DMZ though. Changing 80 to any other port isn't working either. I even took it out of the DMZ and forwarded the ports the proper way.
Here's my vhosts file:
Code: |
<VirtualHost *:80>
ServerAdmin me@openmailbox.org
ServerName site.cf
ServerAlias www.site.cf
DocumentRoot /var/www/site/
ErrorLog /var/www/site/logs/error80.log
CustomLog /var/www/site/logs/access80.log combined
</VirtualHost>
<VirtualHost *:443>
ServerAdmin me@openmailbox.org
ServerName site.cf
ServerAlias www.site.cf
SSLEngine On
SSLCertificateFile /etc/ssl/localcerts/apache.pem
SSLCertificateKeyFile /etc/ssl/localcerts/apache.key
DocumentRoot /var/www/site/
ErrorLog /var/www/site/logs/error.log
CustomLog /var/www/site/logs/access.log combined
</VirtualHost>
|
I haven't changed anything in apache2's configuration file.
Any help is appreciated.
Last edited by boucleinfinie on Thu 02 Oct '14 1:56; edited 1 time in total |
|
Back to top |
|
boucleinfinie
Joined: 29 Sep 2014 Posts: 2 Location: Canada, Lethbridge
|
Posted: Thu 02 Oct '14 0:58 Post subject: |
|
|
C'mon, somebody point out my probably really stupid mistake.
Edit:
Forgot ISP blocks port 80. Turns out I also can't test my http server through proxies, so that's why I didn't remember earlier.
Sorry for useless thread. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7364 Location: Germany, Next to Hamburg
|
Posted: Thu 02 Oct '14 10:58 Post subject: |
|
|
Many people have this problem. You might use port 8080 or use 443 with SSL. |
|
Back to top |
|
nutnutg12
Joined: 29 Sep 2014 Posts: 1 Location: natashagarcia565@yahoo.com
|
Posted: Sat 04 Oct '14 12:24 Post subject: |
|
|
pre settlement funding wrote: | C'mon, somebody point out my probably really stupid mistake.
Edit:
Forgot ISP blocks port 80. Turns out I also can't test my http server through proxies, so that's why I didn't remember earlier.
Sorry for useless thread. |
Well, no worries. In my opinion, it is better to ask a stupid question and learn than never ask and be stupid forever. |
|
Back to top |
|
|
|
|
|
|