Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th August 2007, 14:13
rjamesd rjamesd is offline
Member
 
Join Date: Aug 2007
Posts: 35
Thanks: 3
Thanked 4 Times in 3 Posts
Default webpage won't load, Apache Debian /etc/apache2/sites-available/default file seems OK

I have a Debian 4.0 Etch Linux server, called rockstar. My CGI Perl script files are not running and displaying in the browser.

For example...

http://rockstar/cgi-bin/bugzillla/

...displays the following in the IceWeasel browser:

Not Found

The requested URL /cgi-bin/bugzillla/ was not found on this server.
Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/4.4.4-8+etch4 mod_perl/2.0.2 Perl/v5.8.8 Server at rockstar Port 80


/var/log/apache2/error.log shows an entry for the above attempted access:

[Mon Aug 20 10:19:10 2007] [error] [client 127.0.1.1] File does not exist: /var/www/bugzilla, referer: http://rockstar/cgi-bin/bugzilla/index.cgi


But Apache shouldn't attempt to go to /var/www/bugzilla because I have set up a re-direct to /usr/lib/cgi-bin/ (using ScriptAlias directive ) in /etc/apache2/sites-available/default :-

NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost

DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin/">
AllowOverride None
Options ExecCGI -MultiViews FollowSymLinks
Order allow,deny
Allow from all
</Directory>

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined
ServerSignature On

Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>

</VirtualHost>

Also, sr/lib/cgi-bin/bugzilla contains the index.cgi file that I expect to run and display HTML at the browser :-

rockstar:/usr/lib/cgi-bin/bugzilla# ls
attachment.cgi editparams.cgi report.cgi
buglist.cgi editproducts.cgi reports.cgi
bugzilla.html editsettings.cgi request.cgi
chart.cgi editusers.cgi sanitycheck.cgi
colchange.cgi editvalues.cgi show_activity.cgi
config.cgi editversions.cgi showattachment.cgi
createaccount.cgi editwhines.cgi show_bug.cgi
describecomponents.cgi enter_bug.cgi showdependencygraph.cgi
describekeywords.cgi index.cgi showdependencytree.cgi
duplicates.cgi long_list.cgi sidebar.cgi
editclassifications.cgi page.cgi summarize_time.cgi
editcomponents.cgi post_bug.cgi testagent.cgi
editflagtypes.cgi process_bug.cgi token.cgi
editgroups.cgi query.cgi userprefs.cgi
editkeywords.cgi quips.cgi votes.cgi
editmilestones.cgi relogin.cgi xml.cgi
rockstar:/usr/lib/cgi-bin/bugzilla#





What's wrong?

Also, note that page requests for http://rockstar/ do work - they go to /var/www/index.html
Reply With Quote
Sponsored Links
  #2  
Old 24th August 2007, 18:09
rjamesd rjamesd is offline
Member
 
Join Date: Aug 2007
Posts: 35
Thanks: 3
Thanked 4 Times in 3 Posts
 
Question bugzilla extra 'l' is one problem, once this is corrected I get another problem

Quote:
Originally Posted by rjamesd
bugzilla is spelt wrong - it has an extra 'l'. However, when I correct this, I get the 403 Forbidden message - detailed in: http://www.howtoforge.com/forums/showthread.php?t=15042
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chroot SSH + ISPConfig Norman Installation/Configuration 27 26th March 2007 04:40
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 18:17
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 06:19
jamed up my table borders?? Boon-Dog-Danny Installation/Configuration 5 23rd September 2006 17:12
64-bit Debian 3.1 Install Issue naruto Installation/Configuration 14 5th September 2006 05:12


All times are GMT +2. The time now is 00:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.