Bugzilla and apache, CGI configuration...

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bugzilla and apache, CGI configuration...

Davide C
Hi to all
i have a simple server setup on my win2k server

i have a directory (bugzilla) that is ooutside "htdocs" folder.
I need to give it CGI exec permission so i have added the followinf
directory:

Alias /bugzilla/ "C:/Programmi/Apache Group/Apache2/bugzilla/"
<Directory "C:/Programmi/Apache Group/Apache2/bugzilla">
   AddHandler cgi-script .cgi
   Options +Indexes +ExecCGI
   #Options Indexes ExecCGI
   DirectoryIndex index.cgi
   AllowOverride Limit
</Directory>

now i can fetch the files inside the directory through the web:
http://mydomain/bugzilla/filename.jpg

but if i give only:
http://mydomain/bugzilla/
i get an "internal server error"

with a perl script of test (distribuited with bugzilla)  i see that the
problem is the missing permission to exec CGI...

However i don't understand what i miss... can anyone give me a hint?
_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools
Reply | Threaded
Open this post in threaded view
|

Re: Bugzilla and apache, CGI configuration...

Shib SS
sometimes perl has problems accessing the directories
which have spaces in it, for e.g "Apache Group" in
your case. Change it and check if it works !!

--Shib


--- Davide C <[hidden email]> wrote:

> Hi to all
> i have a simple server setup on my win2k server
>
> i have a directory (bugzilla) that is ooutside
> "htdocs" folder.
> I need to give it CGI exec permission so i have
> added the followinf
> directory:
>
> Alias /bugzilla/ "C:/Programmi/Apache
> Group/Apache2/bugzilla/"
> <Directory "C:/Programmi/Apache
> Group/Apache2/bugzilla">
>    AddHandler cgi-script .cgi
>    Options +Indexes +ExecCGI
>    #Options Indexes ExecCGI
>    DirectoryIndex index.cgi
>    AllowOverride Limit
> </Directory>
>
> now i can fetch the files inside the directory
> through the web:
> http://mydomain/bugzilla/filename.jpg
>
> but if i give only:
> http://mydomain/bugzilla/
> i get an "internal server error"
>
> with a perl script of test (distribuited with
> bugzilla)  i see that the
> problem is the missing permission to exec CGI...
>
> However i don't understand what i miss... can anyone
> give me a hint?



               
_______________________________________________________
Too much spam in your inbox? Yahoo! Mail gives you the best spam protection for FREE! http://in.mail.yahoo.com
_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools
Reply | Threaded
Open this post in threaded view
|

Re: Bugzilla and apache, CGI configuration...

Davide C
In reply to this post by Davide C
Shib SS <[hidden email]>  in news:mailman.1119615422.4316.mozilla-
[hidden email]:

> sometimes perl has problems accessing the directories
> which have spaces in it, for e.g "Apache Group" in
> your case. Change it and check if it works !!
>

the problem was the path inside the perl files :)
thanks:)
_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools