403 Permission denied

View: New views
7 Messages — Rating Filter:   Alert me  

403 Permission denied

by Kupen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm new on this list.

I just installed (four different directories and ports) newest fgs package of mapserver.

After installation I try to test my installation to addresses:
http://myserver/
http://myserver:80/
http://myserver/cgi-bin/mapserv/
http://myserver:80/cgi-bin/mapserv/

All of them throws 403 error
Forbidden
You don't have permission to access / on this server.

or

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

fgs's apache has been installed on port 80 and there is not any other installaion of Apache

What's wrong in my installation?

--
pk

--
Saunalahti DataPaketti - tilaa nyt, saat 2 kk veloituksetta ja Nettitikun kaupan päälle!
http://saunalahti.fi/gsm/gsmdatapaketti.php 

_______________________________________________
Foss-gis-suite mailing list
Foss-gis-suite@...
http://lists.maptools.org/mailman/listinfo/foss-gis-suite

Re: 403 Permission denied

by nsavard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Pena Kupen wrote:

> Hi,
>
> I'm new on this list.
>
> I just installed (four different directories and ports) newest fgs package of mapserver.
>
> After installation I try to test my installation to addresses:
> http://myserver/
> http://myserver:80/
> http://myserver/cgi-bin/mapserv/
> http://myserver:80/cgi-bin/mapserv/
>
> All of them throws 403 error
> Forbidden
> You don't have permission to access / on this server.
>
> or
>
> Forbidden
> You don't have permission to access /cgi-bin/mapserv/ on this server.
>
> fgs's apache has been installed on port 80 and there is not any other installaion of Apache
>
> What's wrong in my installation?
>
>  
Pena,

You need to be root to install on port 80.  Try to install fgs in your
home directory and use a port greater than 1024 (8080 is a good choice).

http://myserver:8080/cgi-bin/mapserv? is going to work.


Norm
_______________________________________________
Foss-gis-suite mailing list
Foss-gis-suite@...
http://lists.maptools.org/mailman/listinfo/foss-gis-suite

Parent Message unknown Re: 403 Permission denied

by Kupen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have done all of those installations as root.
I have also tried different ports between 8000-9000 with same result.

--
pk


Normand Savard <nsavard@...> kirjoitti:

> Pena Kupen wrote:
> > Hi,
> >
> > I'm new on this list.
> >
> > I just installed (four different directories and ports) newest fgs package of mapserver.
> >
> > After installation I try to test my installation to addresses:
> > http://myserver/
> > http://myserver:80/
> > http://myserver/cgi-bin/mapserv/
> > http://myserver:80/cgi-bin/mapserv/
> >
> > All of them throws 403 error
> > Forbidden
> > You don't have permission to access / on this server.
> >
> > or
> >
> > Forbidden
> > You don't have permission to access /cgi-bin/mapserv/ on this server.
> >
> > fgs's apache has been installed on port 80 and there is not any other installaion of Apache
> >
> > What's wrong in my installation?
> >
> >  
> Pena,
>
> You need to be root to install on port 80.  Try to install fgs in your
> home directory and use a port greater than 1024 (8080 is a good choice).
>
> http://myserver:8080/cgi-bin/mapserv? is going to work.
>
>
> Norm
>


--
Saunalahti DataPaketti - tilaa nyt, saat 2 kk veloituksetta ja Nettitikun kaupan päälle!
http://saunalahti.fi/gsm/gsmdatapaketti.php 

_______________________________________________
Foss-gis-suite mailing list
Foss-gis-suite@...
http://lists.maptools.org/mailman/listinfo/foss-gis-suite

Re: 403 Permission denied

by nsavard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Pena Kupen wrote:
> Hi,
>
> I have done all of those installations as root.
> I have also tried different ports between 8000-9000 with same result.
>
>  
Pena,

I am aware that there is some problems when installing FGS as root, this
were it is preferable to install it as normal user.

On the other hand, on which OS do you work on?

Norm
_______________________________________________
Foss-gis-suite mailing list
Foss-gis-suite@...
http://lists.maptools.org/mailman/listinfo/foss-gis-suite

Parent Message unknown Re: 403 Permission denied

by Kupen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Norm,

I have logged as normal user then using sudo su - and installing after that fgs.

> On the other hand, on which OS do you work on?
I'm using CentOs 5.3

--
pk

Normand Savard <nsavard@...> kirjoitti:

> Pena Kupen wrote:
> > Hi,
> >
> > I have done all of those installations as root.
> > I have also tried different ports between 8000-9000 with same result.
> >
> >  
> Pena,
>
> I am aware that there is some problems when installing FGS as root, this
> were it is preferable to install it as normal user.
>
> On the other hand, on which OS do you work on?
>
> Norm
>


--
Saunalahti DataPaketti - tilaa nyt, saat 2 kk veloituksetta ja Nettitikun kaupan päälle!
http://saunalahti.fi/gsm/gsmdatapaketti.php 

_______________________________________________
Foss-gis-suite mailing list
Foss-gis-suite@...
http://lists.maptools.org/mailman/listinfo/foss-gis-suite

Re: 403 Permission denied

by nsavard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Pena Kupen wrote:
> Norm,
>
> I have logged as normal user then using sudo su - and installing after that fgs.
>
>  
Pena,

You don't have to do "sudo", just "sh
fgs-mapserver_extended_5.4.2-fgs_9.5-linux-i386.bin".

Install fgs in your normal user account.

Norm
_______________________________________________
Foss-gis-suite mailing list
Foss-gis-suite@...
http://lists.maptools.org/mailman/listinfo/foss-gis-suite

Parent Message unknown Re: 403 Permission denied

by Kupen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yeps, shouldn't  I "sudo", when installing in port 80?

--
pk

Normand Savard <nsavard@...> kirjoitti:

> Pena Kupen wrote:
> > Norm,
> >
> > I have logged as normal user then using sudo su - and installing after that fgs.
> >
> >  
> Pena,
>
> You don't have to do "sudo", just "sh
> fgs-mapserver_extended_5.4.2-fgs_9.5-linux-i386.bin".
>
> Install fgs in your normal user account.
>
> Norm
>


--
Saunalahti DataPaketti - tilaa nyt, saat 2 kk veloituksetta ja Nettitikun kaupan päälle!
http://saunalahti.fi/gsm/gsmdatapaketti.php 

_______________________________________________
Foss-gis-suite mailing list
Foss-gis-suite@...
http://lists.maptools.org/mailman/listinfo/foss-gis-suite