Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
Cannot access B3 server web pages
-
- Posts: 16
- Joined: 17 Jan 2011, 17:15
Cannot access B3 server web pages
I have created two new virtual servers in apache2 to allow me to run two web sites from the same IP address but now I cannot access the B3 server web Page since I enabled them.
Can you help?
Can you help?
Re: Cannot access B3 server web pages
run as root
and show the output.
Also: read the log files
Code: Select all
apache2ctl -St
Also: read the log files
-
- Posts: 6
- Joined: 17 Jan 2011, 17:04
Re: Cannot access B3 server web pages
Thanks. This is the output:
Warning: DocumentRoot [/home/web/www.writewordsonline.com/httpDocs] does not exist
Warning: DocumentRoot [/home/web/www.writewordsonline.com/httpDocs] does not exist
[Tue Jan 18 07:46:43 2011] [error] VirtualHost *:443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Tue Jan 18 07:46:43 2011] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Tue Jan 18 07:46:43 2011] [error] VirtualHost *:443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Tue Jan 18 07:46:43 2011] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Tue Jan 18 07:46:43 2011] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Tue Jan 18 07:46:43 2011] [error] VirtualHost *:443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Tue Jan 18 07:46:43 2011] [warn] NameVirtualHost *:80 has no VirtualHosts
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:* is a NameVirtualHost
default server localhost.localdomain (/etc/apache2/sites-enabled/bubba:1)
port 443 namevhost localhost.localdomain (/etc/apache2/sites-enabled/bubba:1)
port 80 namevhost localhost.localdomain (/etc/apache2/sites-enabled/bubba:44)
port 80 namevhost http://www.eyesoft-software.com (/etc/apache2/sites-enabled/ http://www.eyesoft-software.com:5)
port 443 namevhost http://www.eyesoft-software.com (/etc/apache2/sites-enabled /www.eyesoft-software.com:26)
port 80 namevhost http://www.writewordsonline.com (/etc/apache2/sites-enabled/ http://www.writewordsonline.com:5)
port 443 namevhost http://www.writewordsonline.com (/etc/apache2/sites-enabled /www.writewordsonline.com:25)
Syntax OK
Warning: DocumentRoot [/home/web/www.writewordsonline.com/httpDocs] does not exist
Warning: DocumentRoot [/home/web/www.writewordsonline.com/httpDocs] does not exist
[Tue Jan 18 07:46:43 2011] [error] VirtualHost *:443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Tue Jan 18 07:46:43 2011] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Tue Jan 18 07:46:43 2011] [error] VirtualHost *:443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Tue Jan 18 07:46:43 2011] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Tue Jan 18 07:46:43 2011] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Tue Jan 18 07:46:43 2011] [error] VirtualHost *:443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Tue Jan 18 07:46:43 2011] [warn] NameVirtualHost *:80 has no VirtualHosts
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:* is a NameVirtualHost
default server localhost.localdomain (/etc/apache2/sites-enabled/bubba:1)
port 443 namevhost localhost.localdomain (/etc/apache2/sites-enabled/bubba:1)
port 80 namevhost localhost.localdomain (/etc/apache2/sites-enabled/bubba:44)
port 80 namevhost http://www.eyesoft-software.com (/etc/apache2/sites-enabled/ http://www.eyesoft-software.com:5)
port 443 namevhost http://www.eyesoft-software.com (/etc/apache2/sites-enabled /www.eyesoft-software.com:26)
port 80 namevhost http://www.writewordsonline.com (/etc/apache2/sites-enabled/ http://www.writewordsonline.com:5)
port 443 namevhost http://www.writewordsonline.com (/etc/apache2/sites-enabled /www.writewordsonline.com:25)
Syntax OK
Re: Cannot access B3 server web pages
well, you know what the problem is now right?
-
- Posts: 6
- Joined: 17 Jan 2011, 17:04
Re: Cannot access B3 server web pages
Sorry, no
But I am sure it is something I did. I followed the guidance here - http://www.debian-administration.org/ar ... ...perhaps too slavishly...Sorry i am new to all this...

-
- Posts: 6
- Joined: 17 Jan 2011, 17:04
Re: Cannot access B3 server web pages
Or perhaps it would be more accurate to say that I can see there is a problem but I do not know how to fix it 

Re: Cannot access B3 server web pages
did you bother to read the first line of the output you posted?
-
- Posts: 6
- Joined: 17 Jan 2011, 17:04
Re: Cannot access B3 server web pages
You means the warning that a directory did not exist. Yes...I resolved that...it was a typo.
I have also now deleted the files I wrote and reloaded the web server...but the issue persists.
I have also now deleted the files I wrote and reloaded the web server...but the issue persists.
-
- Posts: 6
- Joined: 17 Jan 2011, 17:04
Re: Cannot access B3 server web pages
This is what I am getting now:
[Tue Jan 18 11:40:09 2011] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Tue Jan 18 11:40:09 2011] [error] VirtualHost *:443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefine d results
[Tue Jan 18 11:40:09 2011] [warn] NameVirtualHost *:80 has no VirtualHosts
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:* is a NameVirtualHost
default server localhost.localdomain (/etc/apache2/sites-enabled/bubba: 1)
port 443 namevhost localhost.localdomain (/etc/apache2/sites-enabled/bu bba:1)
port 80 namevhost localhost.localdomain (/etc/apache2/sites-enabled/bub ba:44)
Syntax OK
The only sites-available site is bubba. This is what to file says:
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile /etc/apache2/cacert.pem
SSLCertificateKeyFile /etc/apache2/privkey.pem
ServerAdmin webmaster@localhost
DocumentRoot /home/web/
DirectoryIndex index.html index.htm index.cgi index.pl index.php index.xhtml
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/web/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /icons/ "/usr/share/apache2/icons/"
<Directory "/usr/share/apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /home/web/
DirectoryIndex index.html index.htm index.cgi index.pl index.php index.xhtml
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/web/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /icons/ "/usr/share/apache2/icons/"
<Directory "/usr/share/apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /music http://localhost:3689
ProxyPassReverse /music http://localhost:3689
</VirtualHost>
[Tue Jan 18 11:40:09 2011] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Tue Jan 18 11:40:09 2011] [error] VirtualHost *:443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefine d results
[Tue Jan 18 11:40:09 2011] [warn] NameVirtualHost *:80 has no VirtualHosts
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:* is a NameVirtualHost
default server localhost.localdomain (/etc/apache2/sites-enabled/bubba: 1)
port 443 namevhost localhost.localdomain (/etc/apache2/sites-enabled/bu bba:1)
port 80 namevhost localhost.localdomain (/etc/apache2/sites-enabled/bub ba:44)
Syntax OK
The only sites-available site is bubba. This is what to file says:
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile /etc/apache2/cacert.pem
SSLCertificateKeyFile /etc/apache2/privkey.pem
ServerAdmin webmaster@localhost
DocumentRoot /home/web/
DirectoryIndex index.html index.htm index.cgi index.pl index.php index.xhtml
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/web/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /icons/ "/usr/share/apache2/icons/"
<Directory "/usr/share/apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /home/web/
DirectoryIndex index.html index.htm index.cgi index.pl index.php index.xhtml
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/web/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /icons/ "/usr/share/apache2/icons/"
<Directory "/usr/share/apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /music http://localhost:3689
ProxyPassReverse /music http://localhost:3689
</VirtualHost>
Re: Cannot access B3 server web pages
In your first post you stated that you added two extra sites, but I don't see those anywhere. As this file is nearly identical to the version you received, my guess is you also messed about with other files but did not show these here...
also, next time you show config code or output, please put it in code brackets so we can read them
also; please show the output of
also, next time you show config code or output, please put it in code brackets so we can read them
also; please show the output of
Code: Select all
grep VirtualHost `find /etc/apache2`
-
- Posts: 6
- Joined: 17 Jan 2011, 17:04
Re: Cannot access B3 server web pages
Here is the output:
I have recreated the configuration files for www.Eyesoft-software.com and www.writewordsonline.com and rebooted my router and the server and it now seems to work, though only if the address is https:// (not if it is http://).
Code: Select all
/etc/apache2/apache2.conf:# If you do not specify an ErrorLog directive within a <VirtualHost>
/etc/apache2/apache2.conf:# logged here. If you *do* define an error logfile fo r a <VirtualHost>
/etc/apache2/ports.conf:# have to change the VirtualHost statement in
/etc/apache2/ports.conf:NameVirtualHost *:80
/etc/apache2/ports.conf: # If you add NameVirtualHost *:443 here, you will al so have to change
/etc/apache2/ports.conf: # the VirtualHost statement in /etc/apache2/sites-av ailable/default-ssl
/etc/apache2/ports.conf: # to <VirtualHost *:443>
/etc/apache2/conf.d/other-vhosts-access-log:# Define an access log for VirtualHo sts that don't define their own logfile
/etc/apache2/conf.d/localized-error-pages:# even on a per-VirtualHost basis. If you include the Alias in the global server
/etc/apache2/conf.d/virtual.conf:NameVirtualHost *
/etc/apache2/sites-enabled/eyesoft.conf:<VirtualHost *>
/etc/apache2/sites-enabled/eyesoft.conf:</VirtualHost>
/etc/apache2/sites-enabled/writewordsonline:<VirtualHost *>
/etc/apache2/sites-enabled/writewordsonline:</VirtualHost>
/etc/apache2/sites-enabled/bubba:<VirtualHost *:443>
/etc/apache2/sites-enabled/bubba:</VirtualHost>
/etc/apache2/sites-enabled/bubba:<VirtualHost *:80>
/etc/apache2/sites-enabled/bubba:</VirtualHost>
/etc/apache2/sites-available/eyesoft.conf:<VirtualHost *>
/etc/apache2/sites-available/eyesoft.conf:</VirtualHost>
/etc/apache2/sites-available/default:NameVirtualHost *
/etc/apache2/sites-available/default:<VirtualHost *:80>
/etc/apache2/sites-available/default:</VirtualHost>
/etc/apache2/sites-available/writewordsonline:<VirtualHost *>
/etc/apache2/sites-available/writewordsonline:</VirtualHost>
/etc/apache2/sites-available/bubba:<VirtualHost *:443>
/etc/apache2/sites-available/bubba:</VirtualHost>
/etc/apache2/sites-available/bubba:<VirtualHost *:80>
/etc/apache2/sites-available/bubba:</VirtualHost>
/etc/apache2/sites-available/default-ssl:<VirtualHost _default_:443>
/etc/apache2/sites-available/default-ssl:</VirtualHost>