Permissions problem on my web page
At long last I was able to get a web page up on my ISP, their support had a nice telephone manner and said they'd get back to me a number of times, they omitted the word NEVER and I had to figure it out by trial and error - I digress, as usual. I created a public_html directory and uploaded some 9.1 RPM's I built. However, any attempt to acces the directory gives a "403 Forbidden" "You don't have permission to access those file(s).", permissions are world readable, so my guess is it's something to do with ownership, but I own the files. Assistance required as my ISP doesn't do Assistance. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer =====LINUX ONLY USED HERE=====
On Friday 20 August 2004 14:34, Sid Boyce wrote:
At long last I was able to get a web page up on my ISP, their support had a nice telephone manner and said they'd get back to me a number of times, they omitted the word NEVER and I had to figure it out by trial and error - I digress, as usual. I created a public_html directory and uploaded some 9.1 RPM's I built. However, any attempt to acces the directory gives a "403 Forbidden" "You don't have permission to access those file(s).", permissions are world readable, so my guess is it's something to do with ownership, but I own the files.
I think I came down that path too: all the directories need to be world-readable, meaning /home, /home/<user>, /home/<user>/public_html. Cheers, Leen
On 2004/08/20, at 22:05, Leendert Meyer wrote:
On Friday 20 August 2004 14:34, Sid Boyce wrote:
At long last I was able to get a web page up on my ISP, their support had a nice telephone manner and said they'd get back to me a number of times, they omitted the word NEVER and I had to figure it out by trial and error - I digress, as usual. I created a public_html directory and uploaded some 9.1 RPM's I built. However, any attempt to acces the directory gives a "403 Forbidden" "You don't have permission to access those file(s).", permissions are world readable, so my guess is it's something to do with ownership, but I own the files.
I think I came down that path too: all the directories need to be world-readable, meaning /home, /home/<user>, /home/<user>/public_html.
Uhm, not really. For your <user> directory, all you need is something like: drwx-----x In other words, if the directories after /home are "executable", they should be accessible. Most likely the problem lies somewhere else... maybe Options Indexes ?
Cheers,
Leen
-- - E -
In a previous message, Sid Boyce
I created a public_html directory and uploaded some 9.1 RPM's I built. However, any attempt to acces the directory gives a "403 Forbidden"
If you've got webspace with an ISP, you usually don't need to put the files into a public_html directory - all that is taken care of for you. What you *will* need is a file called index.htm or index.html (it varies with the webspace provider), which will be served automatically when someone requests your webspace. Simply put links to your RPM files in there, and upload the RPMs to the same (root) directory of your webspace and it should work. If something else is happening, please tell us exactly where you're putting the files (omitting security details, of course) and what address you're trying to connect with. HTH John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank Fields of Valour: 2 Norse clans battle on one of 3 different boards
John Pettigrew wrote:
In a previous message, Sid Boyce
wrote: I created a public_html directory and uploaded some 9.1 RPM's I built. However, any attempt to acces the directory gives a "403 Forbidden"
If you've got webspace with an ISP, you usually don't need to put the files into a public_html directory - all that is taken care of for you. What you *will* need is a file called index.htm or index.html (it varies with the webspace provider), which will be served automatically when someone requests your webspace. Simply put links to your RPM files in there, and upload the RPMs to the same (root) directory of your webspace and it should work.
If something else is happening, please tell us exactly where you're putting the files (omitting security details, of course) and what address you're trying to connect with.
HTH
John
Thanks to all. I had uploaded the file, but there wasn't a link in index.html. Still a novice at this sort of thing. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer =====LINUX ONLY USED HERE=====
On 2004/08/20, at 21:34, Sid Boyce wrote: [snip]
I created a public_html directory and uploaded some 9.1 RPM's I built. However, any attempt to acces the directory
[/snip] Usually, you need Options Indexes set up somewhere (e.g. httpd.conf) for you to have a listing of what's in that particular directory. What happens if you access the files directly? -- - E -
On Friday 20 August 2004 15:46, - Edwin - wrote:
On 2004/08/20, at 21:34, Sid Boyce wrote:
[snip]
I created a public_html directory and uploaded some 9.1 RPM's I built. However, any attempt to acces the directory
[/snip]
Usually, you need
Options Indexes
set up somewhere (e.g. httpd.conf)
It is in /etc/apache2/mod_userdir.conf on my system (SuSE-9.1). Cheers, Leen
* Leendert Meyer
On Friday 20 August 2004 15:46, - Edwin - wrote:
On 2004/08/20, at 21:34, Sid Boyce wrote:
[snip]
I created a public_html directory and uploaded some 9.1 RPM's I built. However, any attempt to acces the directory
[/snip]
Usually, you need
Options Indexes
set up somewhere (e.g. httpd.conf)
It is in /etc/apache2/mod_userdir.conf on my system (SuSE-9.1).
I don't believe this will help him. IIUC, he is trying to utilize a web site provided by his isp, not on his *own* computer. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
On Friday 20 August 2004 16:42, Patrick Shanahan wrote:
* Leendert Meyer
[08-20-04 09:18]: On Friday 20 August 2004 15:46, - Edwin - wrote:
On 2004/08/20, at 21:34, Sid Boyce wrote:
[snip]
I created a public_html directory and uploaded some 9.1 RPM's I built. However, any attempt to acces the directory
[/snip]
Usually, you need
Options Indexes
set up somewhere (e.g. httpd.conf)
It is in /etc/apache2/mod_userdir.conf on my system (SuSE-9.1).
I don't believe this will help him. IIUC, he is trying to utilize a web site provided by his isp, not on his *own* computer.
Ok, but as we are on suse-linux-e, I /assumed/ that it is about SuSE. ;) Cheers, Leen
Patrick wrote regarding 'Re: [SLE] Permissions problem on my web page' on Fri, Aug 20 at 09:47:
* Leendert Meyer
[08-20-04 09:18]: On Friday 20 August 2004 15:46, - Edwin - wrote:
On 2004/08/20, at 21:34, Sid Boyce wrote:
[snip]
I created a public_html directory and uploaded some 9.1 RPM's I built. However, any attempt to acces the directory
[/snip]
Usually, you need
Options Indexes
set up somewhere (e.g. httpd.conf)
It is in /etc/apache2/mod_userdir.conf on my system (SuSE-9.1).
I don't believe this will help him. IIUC, he is trying to utilize a web site provided by his isp, not on his *own* computer.
He might be able to put that in .htaccess, if the server's Apache or Apache-compatible and the admin has allowed override of "Options"... --Danny, guessing the problem is either 'chmod 755' or 'vim index.html'
Danny Sauer wrote:
Patrick wrote regarding 'Re: [SLE] Permissions problem on my web page' on Fri, Aug 20 at 09:47:
* Leendert Meyer
[08-20-04 09:18]: On Friday 20 August 2004 15:46, - Edwin - wrote:
On 2004/08/20, at 21:34, Sid Boyce wrote:
[snip]
I created a public_html directory and uploaded some 9.1 RPM's I built. However, any attempt to acces the directory
[/snip]
Usually, you need
Options Indexes
set up somewhere (e.g. httpd.conf)
It is in /etc/apache2/mod_userdir.conf on my system (SuSE-9.1).
I don't believe this will help him. IIUC, he is trying to utilize a web site provided by his isp, not on his *own* computer.
He might be able to put that in .htaccess, if the server's Apache or Apache-compatible and the admin has allowed override of "Options"...
--Danny, guessing the problem is either 'chmod 755' or 'vim index.html'
.htaccess is another can of worms, if he has one. He's certainly better off trying it without it first, unless he needs the security. -- Jim Sabatke Hire Me!! - See my resume at http://my.execpc.com/~jsabatke Do not meddle in the affairs of Dragons, for you are crunchy and good with ketchup. NOTE: Please do not email me any attachments with Microsoft extensions. They are deleted on my ISP's server before I ever see them, and no bounce message is sent.
Jim wrote regarding 'Re: [SLE] Permissions problem on my web page' on Fri, Aug 20 at 11:27:
Danny Sauer wrote: [...] He might be able to put that in .htaccess, if the server's Apache or [...]
.htaccess is another can of worms, if he has one. He's certainly better off trying it without it first, unless he needs the security.
Security? The .htaccess file is used for all user-configurable overrides, including things like FancyIndexes, adding/overriding specific mime types, etc. Sure, the most often overridden thing is access control, but the file is useful for lots of other things beyond "mere" security. From an ISP user's point of view, if the ISP's admin gives that level of control, then that's where he oughtta be changing Apache settings for his directory and below. It's really a cool ability, if the server admin has granted it (which should be the case if the web host is a decent web host). Unfortunately, many admins are unaware of the really nice service they could be giving to their users if they would allow the users to override more than just Limit. --Danny
- Edwin - wrote:
On 2004/08/20, at 21:34, Sid Boyce wrote:
[snip]
I created a public_html directory and uploaded some 9.1 RPM's I built. However, any attempt to acces the directory
[/snip]
Usually, you need
Options Indexes
set up somewhere (e.g. httpd.conf) for you to have a listing of what's in that particular directory.
What happens if you access the files directly?
--
- E -
The ISP should have done that. I don't think they would ever allow anyone to even see their httpd.conf file. -- Jim Sabatke Hire Me!! - See my resume at http://my.execpc.com/~jsabatke Do not meddle in the affairs of Dragons, for you are crunchy and good with ketchup. NOTE: Please do not email me any attachments with Microsoft extensions. They are deleted on my ISP's server before I ever see them, and no bounce message is sent.
On 2004/08/21, at 1:20, Jim Sabatke wrote: > - Edwin - wrote: >> On 2004/08/20, at 21:34, Sid Boyce wrote: >> [snip] >>> I created a public_html directory and uploaded some 9.1 RPM's I >>> built. However, any attempt to acces the directory >> [/snip] >> Usually, you need >> Options Indexes >> set up somewhere (e.g. httpd.conf) for you to have a listing of >> what's in that particular directory. >> What happens if you access the files directly? >> -- >> - E - > > The ISP should have done that. And who said otherwise? ;) > I don't think they would ever allow anyone to even see their > httpd.conf file. Who said they would? :) And as another poster already mentioned, the .htaccess should come in handy here. -- - E -
Oops... (correction) On 2004/08/21, at 9:29, - Edwin - wrote: > On 2004/08/21, at 1:20, Jim Sabatke wrote: > >> - Edwin - wrote: >>> On 2004/08/20, at 21:34, Sid Boyce wrote: >>> [snip] >>>> I created a public_html directory and uploaded some 9.1 RPM's I >>>> built. However, any attempt to acces the directory >>> [/snip] >>> Usually, you need >>> Options Indexes >>> set up somewhere (e.g. httpd.conf) for you to have a listing of >>> what's in that particular directory. >>> What happens if you access the files directly? >>> -- >>> - E - >> >> The ISP should have done that. > > And who said otherwise? ;) I didn't mean that they should have--as somebody else already mentioned, they can give this "power" to their users anyway... Sorry for the extra post. -- - E -
participants (7)
-
- Edwin -
-
Danny Sauer
-
Jim Sabatke
-
John Pettigrew
-
Leendert Meyer
-
Patrick Shanahan
-
Sid Boyce