ubuntu apache2 bugzilla

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RedSon
    Recognized Expert Expert
    • Jan 2007
    • 4980

    ubuntu apache2 bugzilla

    Grr!

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

    Code:
    I installed bugzilla:
    
    /srv$ ls -l
    drwxr-xr-x www-data www-data bugzilla
    
    I've tried to create a bugzilla site
    
    /etc/apache2/sites-available$ ls
    bugzilla default
    
    /etc/apache2/sites-available$ cat bugzilla
    NameVirtualHost *
    <VirtualHost *>
    <Directory /srv/bugzilla>
    AddHandler cgi-script .cgi
    Options +Indexes +ExecCGI
    DirectoryIndex index.cgi
    AllowOverride Limit
    </Directory>
    </VirtualHost>
    
    /etc/apache2/sites-available$sudo a2ensite bugzilla
    /etc/apache2/sites-available$/etc/init.d/apache2 reload
    
    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 :)
  • Kriss128
    New Member
    • Nov 2008
    • 3

    #2
    Hi

    Have you created a link to it in "/etc/apache2/sites-enabled"

    Comment

    • RedSon
      Recognized Expert Expert
      • Jan 2007
      • 4980

      #3
      Yes .

      Comment

      • Kriss128
        New Member
        • Nov 2008
        • 3

        #4
        when you restart apache, what does it print?

        Comment

        • RedSon
          Recognized Expert Expert
          • Jan 2007
          • 4980

          #5
          What does apache print?

          It doesn't say anything other than okay or successful or some such.

          Comment

          • Kriss128
            New Member
            • Nov 2008
            • 3

            #6
            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

            Comment

            Working...