Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
[CCGI] Webspace (non cgi) server has reserved folder names?
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- [CCGI] Webspace (non cgi) server has reserved fold...
[CCGI] Webspace (non cgi) server has reserved folder names?
03-08-2008 8:09 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Wonder if anyone else has seen this issue. I wanted to create a subsection of my site for things written in perl, so quite naturally I created a folder called "perl".
Problem: if the folder exists then any attempt to browse files in it returns "Forbidden".
Oddly enough the folder "cgi-bin" probably behaves the same way, it did back when I was moving my employer's website onto Plusnet.
Any other names I should steer clear of?
Problem: if the folder exists then any attempt to browse files in it returns "Forbidden".
Oddly enough the folder "cgi-bin" probably behaves the same way, it did back when I was moving my employer's website onto Plusnet.
Any other names I should steer clear of?
Message 1 of 9
(2,191 Views)
8 REPLIES 8
Re: Webspace (non cgi) server has reserved folder names?
04-08-2008 7:54 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Out of interest I have just created a folder in my cgi-bin and in the ccgi root both called perl no trouble at all.
Have you set the permissions of the folder and it's files correctly? I'm no expert at this but it seems okay here.
Have you set the permissions of the folder and it's files correctly? I'm no expert at this but it seems okay here.
Message 2 of 9
(444 Views)
Re: Webspace (non cgi) server has reserved folder names?
05-08-2008 6:04 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I'm talking about the regular (non cgi) webserver. It appears to have some vestigial cgi folder name associations, such that if a folder is created with that name it cannot be browsed.
For example go to your htdocs filder and make a "perl" folder and put some stuff in it. Then try to browse to it.
The ccgi server seems to work as expected, mostly.
For example go to your htdocs filder and make a "perl" folder and put some stuff in it. Then try to browse to it.
The ccgi server seems to work as expected, mostly.
Message 3 of 9
(444 Views)
Re: Webspace (non cgi) server has reserved folder names?
05-08-2008 8:47 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
When you mentioned cgi-bin I thought that was where you were working from.
You are absolutely right, You get forbidden error 403 if folder is called perl I have no idea what other names you have to avoid, maybe you should raise a ticket with PN or some of the forum bright sparks may have an answer but I suspect they'll tell you it's one of PN's security measures.
You are absolutely right, You get forbidden error 403 if folder is called perl I have no idea what other names you have to avoid, maybe you should raise a ticket with PN or some of the forum bright sparks may have an answer but I suspect they'll tell you it's one of PN's security measures.
Message 4 of 9
(444 Views)
Re: Webspace (non cgi) server has reserved folder names?
05-08-2008 9:00 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
In terms of placing a directory call cgi-bin and sub-directories there-of on Homepages, then indeed, these are reserved and mapped to a central location.
A folder called "perl" on the other hand, I am not aware being reserved in such as way. That added, testing this would suggest it is "nail", "head" & "hit" in honesty.
A folder called "perl" on the other hand, I am not aware being reserved in such as way. That added, testing this would suggest it is "nail", "head" & "hit" in honesty.
Message 5 of 9
(444 Views)
Re: Webspace (non cgi) server has reserved folder names?
08-08-2008 2:53 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks for looking. Any idea if there are other reserved names?
Message 6 of 9
(444 Views)
Re: Webspace (non cgi) server has reserved folder names?
15-08-2008 4:12 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
A quick scan of the apache config shows that these are reserved:
These are just for your htdocs, e.g. htdocs/icons won't work, but htdocs/example/icons will be fine.
/icons/
/images/
/cgi-bin/
/perl/
These are just for your htdocs, e.g. htdocs/icons won't work, but htdocs/example/icons will be fine.
Message 7 of 9
(444 Views)
Re: Webspace (non cgi) server has reserved folder names?
22-08-2008 2:59 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks. There's probably a good reason to keep cgi-bin private even without functional scripting, but "images" could be a real gotcha, since its a natural place to put the graphic content.
Actually it looks like its been fixed at some point since /perl/ returns "not found" instead of "forbidden". Thanks.
Keeping cgi-bin blocked is probably a good thing as it means if someone accidentally uploads a site with cgi content (like I did back in 2002) then the code will be hidden and they'll quickly get a 403 error, instead of the code (which may contain private data such as passwords) being visible to all.
Actually it looks like its been fixed at some point since /perl/ returns "not found" instead of "forbidden". Thanks.
Keeping cgi-bin blocked is probably a good thing as it means if someone accidentally uploads a site with cgi content (like I did back in 2002) then the code will be hidden and they'll quickly get a 403 error, instead of the code (which may contain private data such as passwords) being visible to all.
Message 8 of 9
(444 Views)
Re: Webspace (non cgi) server has reserved folder names?
14-10-2008 1:23 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I've never had any trouble with using an /images/ directory in the htdocs folder of the main website servers (i've been using that folder for years).... so clearly that blocking feature is thankfully not working correctly!
Message 9 of 9
(444 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- [CCGI] Webspace (non cgi) server has reserved fold...