473,808 Members | 2,797 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ubuntu apache2 bugzilla

RedSon
5,000 Recognized Expert Expert
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 :)
Oct 31 '08 #1
5 6505
Kriss128
3 New Member
Hi

Have you created a link to it in "/etc/apache2/sites-enabled"
Nov 14 '08 #2
RedSon
5,000 Recognized Expert Expert
Yes .
Nov 14 '08 #3
Kriss128
3 New Member
when you restart apache, what does it print?
Nov 14 '08 #4
RedSon
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
Kriss128
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
</Directory>

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

0
1701
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
8
2483
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...
3
1748
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)?"
0
2471
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
5
5524
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? ...
1
6632
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.
3
2580
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
2
2117
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.
2
3052
mageswar005
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.
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10628
Oralloy
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...
1
10374
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9195
agi2029
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...
0
6880
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5547
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...
0
5685
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3859
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3011
bsmnconsultancy
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.