Connecting Tech Pros Worldwide Forums | Help | Site Map

ubuntu apache2 bugzilla

RedSon's Avatar
Site Moderator
 
Join Date: Jan 2007
Location: America
Posts: 3,392
#1: Oct 31 '08
Grr!

I've been trying to set up apache2 to serve my bugzilla page for like a week now and I give up!

Expand|Select|Wrap|Line Numbers
  1. I installed bugzilla:
  2.  
  3. /srv$ ls -l
  4. drwxr-xr-x www-data www-data bugzilla
  5.  
  6. I've tried to create a bugzilla site
  7.  
  8. /etc/apache2/sites-available$ ls
  9. bugzilla default
  10.  
  11. /etc/apache2/sites-available$ cat bugzilla
  12. NameVirtualHost *
  13. <VirtualHost *>
  14. <Directory /srv/bugzilla>
  15. AddHandler cgi-script .cgi
  16. Options +Indexes +ExecCGI
  17. DirectoryIndex index.cgi
  18. AllowOverride Limit
  19. </Directory>
  20. </VirtualHost>
  21.  
  22. /etc/apache2/sites-available$sudo a2ensite bugzilla
  23. /etc/apache2/sites-available$/etc/init.d/apache2 reload
  24.  
  25. Navigate to http://localhost/bugzilla give me an error 404
  26.  
HELP PLEASE!! What do I put in sites-available/bugzilla to get it to work?!?

Thanks :)
Newbie
 
Join Date: Nov 2008
Posts: 3
#2: Nov 14 '08

re: ubuntu apache2 bugzilla


Hi

Have you created a link to it in "/etc/apache2/sites-enabled"
RedSon's Avatar
Site Moderator
 
Join Date: Jan 2007
Location: America
Posts: 3,392
#3: Nov 14 '08

re: ubuntu apache2 bugzilla


Yes .
Newbie
 
Join Date: Nov 2008
Posts: 3
#4: Nov 14 '08

re: ubuntu apache2 bugzilla


when you restart apache, what does it print?
RedSon's Avatar
Site Moderator
 
Join Date: Jan 2007
Location: America
Posts: 3,392
#5: Nov 14 '08

re: ubuntu apache2 bugzilla


What does apache print?

It doesn't say anything other than okay or successful or some such.
Newbie
 
Join Date: Nov 2008
Posts: 3
#6: Nov 14 '08

re: ubuntu apache2 bugzilla


Process of elimination,

If you haven't done this edit /etc/apache/httpd.conf, adding the following lines:

Alias /bugs/ (location of your bugzilla cgi files)

<Directory (location of your bugzilla cgi files)>
AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
DirectoryIndex index.cgi
AllowOverride Limit
</Directory>

Restart apache
Then give it a try
Reply


Similar Apache Web Server bytes