Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Accessing webapps from webpage (sp. mapserver)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ebpowell
n00b
n00b


Joined: 30 Aug 2003
Posts: 38
Location: MD

PostPosted: Wed Sep 07, 2011 2:25 am    Post subject: Accessing webapps from webpage (sp. mapserver) Reply with quote

According the official mapserver documentation, the binary for the mapserver package should live in /var/www/localhost/cgi-bin or equivalent.

I note upon installing mapserver-6.0.1 it puts the binary in /usr/share/webapps/mapserver/6.0.1/hostroot/cgi-bin/

When I try to access the above path on the browsers address line apache returns a 404 error.

Feeling creative, I tried to create a symlink in /var/www/localhost/cgi-bin to the binary in /usr/...

This returns a 403 error.

What am I missing?

I've been digging for a while now and haven't found what I am looking for.

Thanks

Eric
_________________
Eschew Obfuscation....
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 15989

PostPosted: Wed Sep 07, 2011 3:48 am    Post subject: Reply with quote

Have you configured your webserver to allow execution and to follow symlinks? Are the permissions set correctly on the binary? What does the webserver error log say?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum