View previous topic :: View next topic |
Author |
Message |
talkinghand -
Joined: 02 Jul 2003 Posts: 4
|
Posted: Wed Jul 02, 2003 11:22 pm Post subject: 403 forbidden |
|
|
Hi, i just installed debian-knoppix on my harddrive, and it works fine. Keep in mind, this is my first linux experience, and i am a TOTAL n00bie to linux, but in windows i am very smart
n'ways, when ever i go to my abyss hosted site, i get 403 error, even if i specify that my user can acess /
when i was using abyss windows, this worked. Also i installed apache, and that worked. but i like abyss much more!
is there something i have to do?
please help, and if you need me to tell more about my setup stuff, just say |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Jul 03, 2003 1:01 pm Post subject: Re: 403 forbidden |
|
|
On Linux (and all UNIX systems), each file has a an owner and a permissions set to let the system know who can access it. You get error 403 because the user running Abyss was unable o read the files (in Linux words "no permissions to have read access for the file").
If you're a newbie and to not complicate things, we recommend logging as a normal user (not root) and installing Abyss Web Server in your home directory. Then run it (without changing the user). All should work fine because in such case, you don't have to worry about permissions (same thing as in Windows). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
talkinghand -
Joined: 02 Jul 2003 Posts: 4
|
Posted: Thu Jul 03, 2003 3:16 pm Post subject: |
|
|
thanks a bunch!
i will try that, and get back to you as soon as i can!
thanks again |
|
Back to top |
|
 |
talkinghand -
Joined: 02 Jul 2003 Posts: 4
|
Posted: Thu Jul 03, 2003 3:50 pm Post subject: |
|
|
ok, that works, but it claims port 80 is in use, and i can't for the life of me figure out what that is. Is there some command to suspend all ports, or clear them, then i can start it?
Hmm..
I am gonna try restarting to see if that helps.
Thanks again
edit:
When loged on as root, port 80 is not inuse as it is there^ |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Jul 04, 2003 4:18 pm Post subject: |
|
|
talkinghand wrote: | ok, that works, but it claims port 80 is in use, and i can't for the life of me figure out what that is. Is there some command to suspend all ports, or clear them, then i can start it?
Hmm..
I am gonna try restarting to see if that helps.
Thanks again
edit:
When loged on as root, port 80 is not inuse as it is there^ |
On Linux, normal users does not have access to ports below 1024. Only root have that privilege. We recommend using port 8000 when being a normal user, then when you get more used to Linux and its way of doing things, you can start using Abyss as root and use the port 80. More help about that topic is in the user's guide of Abyss Web Server (see the appendices). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
talkinghand -
Joined: 02 Jul 2003 Posts: 4
|
Posted: Fri Jul 04, 2003 6:39 pm Post subject: |
|
|
man o man!!!
So this is what is happening here:
with root, i do not have access to the files, and i get 403, but port 80 is open, but that does not matter
with user, it has access, and works, but i do not have access to port 80.
Is that right?
could i set up my domain name so that it points to my ipaddress:8000
instead of ipaddress, that way domainname.com is actually domainname.com:8000
would that work.
ok, i am gonna read what you said to see if i can find out anything. |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sat Jul 05, 2003 12:37 pm Post subject: |
|
|
talkinghand wrote: | man o man!!!
So this is what is happening here:
with root, i do not have access to the files, and i get 403, but port 80 is open, but that does not matter
with user, it has access, and works, but i do not have access to port 80.
Is that right?
could i set up my domain name so that it points to my ipaddress:8000
instead of ipaddress, that way domainname.com is actually domainname.com:8000
would that work.
ok, i am gonna read what you said to see if i can find out anything. |
Let go back to the root vs normal user issue. When Abyss Web Server is run as root, it can listen on port 80 because root has the privilege to do so. After all the initialization steps, the server changes the active user and switches to a normal user which name is a parameter in Console > Server Configuration > Server parameters > System user. If the files you have in htdocs are owned by user john for example, just change the System User parameter to john and the 403 error won't happen anymore. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|
|
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
|
|