473,695 Members | 2,340 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ubuntu apache2 bugzilla

5,000 Recognized Expert Expert

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:
  3. /srv$ ls -l
  4. drwxr-xr-x www-data www-data bugzilla
  6. I've tried to create a bugzilla site
  8. /etc/apache2/sites-available$ ls
  9. bugzilla default
  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>
  22. /etc/apache2/sites-available$sudo a2ensite bugzilla
  23. /etc/apache2/sites-available$/etc/init.d/apache2 reload
  25. Navigate to http://localhost/bugzilla give me an error 404
HELP PLEASE!! What do I put in sites-available/bugzilla to get it to work?!?

Thanks :)
Oct 31 '08 #1
5 6499
3 New Member

Have you created a link to it in "/etc/apache2/sites-enabled"
Nov 14 '08 #2
5,000 Recognized Expert Expert
Yes .
Nov 14 '08 #3
3 New Member
when you restart apache, what does it print?
Nov 14 '08 #4
5,000 Recognized Expert Expert
What does apache print?

It doesn't say anything other than okay or successful or some such.
Nov 14 '08 #5
3 New Member
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

Restart apache
Then give it a try
Nov 14 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Google Mike | last post by:
I found some strange kind of mild install bug when installing Ubuntu 5.04 php4-pgsql module (the module that connects PHP4 to PostgreSQL). You may encounter the error: Call to undefined function: pg_connect() No amount of using Synaptic Package Manager would fix this for me. The solution was all at command line under 'root' account: $ apt-get update
by: Martin Maney | last post by:
Apologies if this isn't news here - I've been too busy this last week or so for even skimming the traffic here, in part because I've been messing around with Ubuntu's preview release on a spare machine... and, of course, spending time on their very busy mailing list. :-) I didn't find any mention of Ubuntu in a quick scan of recent messages, so... Ubuntu is a Linux distribution that starts with the breadth of Debian and adds regular...
by: 99m | last post by:
I used to have Apache and PHP4 working perfectly in Ubuntu Hoary Linux. I upgraded to Ubuntu Breezy Linux and I either get one of the following problems: "You don't have permission to access /testsite/index.php on this server." or, if I put a test.php in the root, and try to run it, I get a Firefox dialog that's sort of like, "What do you want to do with this file? View it in gedit (notepad)?"
by: furious_radish | last post by:
I have been trying to use php5's xml support. My OS is Ubuntu 5.10 I am running apache2 with php5, no problems there. I installed the php5-xsl package but when I use any xsl related functions in my php, I get errors like: "Call to undefined function xslt_create();" I have played around with installing a bunch of other packages that might be remotely related, but my (limited) understanding of how the
by: msuemnig | last post by:
I've create an Ubuntu Linux box, which comes pre-installed with Python (I've added the libapache2-mod-python throught the app manager). I've created .cgi and .py simple programs in the www root of apache. The problem is the programs just dump the contents to the browser in plain text. Or, in the case of the .py files, I am prompted to download the .py file. How can I get apache to recognize that it should execute the .cgi script? ...
by: Michael | last post by:
(Also posted in the alt.os.linux.ubuntu newsgroup, but I thought it might be more appropriate here) Hi, I'm running the Ubuntu Breezy Badger OS. I just installed the Firebird Classical Server from the Synaptic Package Manager, I can access my database from another machine with a program I wrote for that purpose or my database manager.
by: brundlefly76 | last post by:
I am using the apache-perl webserver in Feisty (an Apache 1.3 with mod_perl enabled), which works fine, but I cannot figure out how to install php5 into this webserver as well. Here's some stuff I have tried from the docs and googling: sudo apt-get install php5 This seemed to only work for apache 2. sudo apt-get install libapache-mod-php5
by: ratcateme | last post by:
Hi i am using php 5.2.3 on Ubuntu 7.10 and apache 2.2.4. i have just switched from windows 2000 and have encountered a problem with my log viewer script unlike windows i cannot just open the apache log file with php as it is always being used by apache. now i can copy using command line: cp /var/log/apache2/access.log /var/log/apache2/access.log.copy I need to do this in php but i don't no how. Please help Thanks Scott.
by: mageswar005 | last post by:
Hi guys, Any body have any idea about php5 domxml with obuntu linux server. I have installed php5,Apache2,Mysql on linux ubuntu server,but Domxml is not working properly.I dont know why domxml is not working,If anybody have any idea about domxml means pleach share your knowledge here. Regards, M.Mageswaran.
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.