Skip to main content

Thread: 11.04 server apache2 virtualhost troubles


hi all,

first off, no means apache guru, please excuse lack of knowledge in area.

struggling cgi-bin perl script program we've purchased , need running. have ubuntu 11.04 server running lamp. default web page working correctly.

application used locally network, , able access url: http://x.x.x.x/calcium/calcium40.pl

have created directory structure of: /home/www/cgi-bin/calcium40
directory calcium40 main calcium40.pl located, , rest of program files located within directory.

(program info located @ http://www.brownbearsw.com/calcium/whatisit.html)

/etc/apache2/apache2.conf unchanged
/etc/apache2/ports.conf if unchanged
/etc/hosts file unchanged

have created site "calcium" under /etc/apache2/sites-available, , enabled

here calcium website config:

me@server-test:/etc/apache2/sites-available$ less calcium
<virtualhost *:80>

servername calcium
serveralias calcium

# indexes + directory root.
directoryindex index.html index.php
documentroot /home/www/cgi-bin/calcium40/

# cgi directory
scriptalias /cgi-bin/ /home/www/cgi-bin/calcium40
<location /cgi-bin>
options +execcgi
</location>

</virtualhost>

contents of sites-enabled:

lrwxrwxrwx 1 root root 26 2011-06-17 13:22 000-default -> ../sites-available/default
lrwxrwxrwx 1 root root 26 2011-06-21 10:32 calcium -> ../sites-available/calcium


no error seen when reloading apache2

error when trying access is:
http://x.x.x.x/calcium/calcium40.pl
not found

requested url /calcium/calcium40.pl not found on server.
apache/2.2.17 (ubuntu) server @ x.x.x.x port 80

appretiated, in advance,

calcium not site, it's page on site x.x.x.x

virtual host must set x.x.x.x


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] 11.04 server apache2 virtualhost troubles


Ubuntu

Comments