[Error: Irreparable invalid markup ('<virtualhost xxx.xx.xx.xx>') in entry. Owner must fix manually. Raw contents below.]
Here is my httpd virtual host:
<VirtualHost xxx.xx.xx.xx>
ServerAlias www.lx.com lx.com
ServerAdmin webmaster@x.com
DocumentRoot /home/lj/public_html
BytesLog domlogs/x.com-bytes_log
ServerName www.x.com
User lj
Group lj
CustomLog domlogs/x.com combined
ScriptAlias /cgi-bin/ /home/lj/public_html/cgi-bin/
PerlSetEnv LJHOME /home/lj
PerlRequire /home/lj/cgi-bin/modperl.pl
</VirtualHost>
When I go to my page via the domain I get this error:
Not Found
The requested URL /server-status was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.
BUT I can go to it via the ip and have it parse the bml correctly.
If I comment out the PerlSetEnv and PerlRequire lines and restart apache it takes me correctly to my root where it shows the list of htdocs (of course not parsing anything).
Any suggestions?
<VirtualHost xxx.xx.xx.xx>
ServerAlias www.lx.com lx.com
ServerAdmin webmaster@x.com
DocumentRoot /home/lj/public_html
BytesLog domlogs/x.com-bytes_log
ServerName www.x.com
User lj
Group lj
CustomLog domlogs/x.com combined
ScriptAlias /cgi-bin/ /home/lj/public_html/cgi-bin/
PerlSetEnv LJHOME /home/lj
PerlRequire /home/lj/cgi-bin/modperl.pl
</VirtualHost>
When I go to my page via the domain I get this error:
Not Found
The requested URL /server-status was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.
BUT I can go to it via the ip and have it parse the bml correctly.
If I comment out the PerlSetEnv and PerlRequire lines and restart apache it takes me correctly to my root where it shows the list of htdocs (of course not parsing anything).
Any suggestions?