Gossamer Forum
Home : Products : Links 2.0 : Installation -- Windows :

Please HELP ME : Error 403 for *.CGI with Apache

Quote Reply
Please HELP ME : Error 403 for *.CGI with Apache
Hi,

I'm using : Win2k, Apache 1.3.27 and Perl 5. I'm in trouble when I try the admin.cgi files on the localhost. The browser's response is : Forbidden

You don't have permission to access /links2/cgi-bin/admin/admin.cgi on this server

So I suspect the httpd.conf file contain something wrong... but what ?

I add this lines in it :

ScriptAlias /cgi-bin/ "C:/Services Web/EasyPHP1-7/www/links2/cgi-bin/"

AddHandler cgi-script .pl
AddHandler cgi-script .cgi
AddHandler cgi-script .exe



So what's wrong ? If you need to see all the configuration file of apache or another file (like linsk.cfg) please tell me and I'll post it

Thanks and sorry for my english
Quote Reply
Re: [kitty26] Please HELP ME : Error 403 for *.CGI with Apache In reply to
Have you set the folder so that it can run scripts? (had this problem the other day when setting up LSQL for a client).

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Please HELP ME : Error 403 for *.CGI with Apache In reply to
please be cool with me, I'm a newbie Smile

which folder are you talking about ?



And... can you check if I installed links in the right place...

/EasyPHP/ :

- /Apache/

- /Perl/

- /www/ (my localhost) :

- links2 : /cgi-bin/ and /pages/

Thanx for your reply
Quote Reply
Re: [kitty26] Please HELP ME : Error 403 for *.CGI with Apache In reply to
Are you running your own webserver?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Please HELP ME : Error 403 for *.CGI with Apache In reply to
yes I am

kitty
Quote Reply
Re: [kitty26] Please HELP ME : Error 403 for *.CGI with Apache In reply to
I'd suggest getting a very basic script working first then. Try the attached (one of mine). It will print debug info from your server, i.e paths, versions etc. If you can't get this working, then its obviously down to your server configuration.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Please HELP ME : Error 403 for *.CGI with Apache In reply to
I've launched your script with cmd.exe and it works, it didn't tell me "You can't run this script from tellnet/shell". But when I've launched it on the localhost the browser said "forbidden" again Frown So I imagine I have to modify the configuration file of apache FrownFrownFrown
Quote Reply
Re: [kitty26] Please HELP ME : Error 403 for *.CGI with Apache In reply to
Afraid I'm stumped here :(

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!