hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : .htaccess 404 error message
Reply

Forum Jump

.htaccess 404 error message

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-26-2001, 07:15 PM
Ellmb Ellmb is offline
Newbie
 
Join Date: Feb 2001
Location: England
Posts: 9
Unhappy

I pay for web space and don't know alot about hosting sites. I want a standard 404 message and i think i know how to do it, when i try and upload the .htaccess file through FTP it says that it is a forbidden file name. When i upload the basic txt file and then try and rename it in CuteFTP or Dreamweavers upload facility both programs just freeze on me and then time out.

Is it my host? am i doing anything wrong?

Suggestions would be appreciated.



Sponsored Links
  #2  
Old 02-26-2001, 08:17 PM
jtan15 jtan15 is offline
Aspiring Evangelist
 
Join Date: Jul 2000
Posts: 382
Doesn't sound like you are doing anything wrong. Although it does sound like the host might not allow .htaccess files and are blocking you from uploading them via FTP.

I would definitely contact the host.

  #3  
Old 03-02-2001, 10:10 PM
Si-WHN Si-WHN is offline
Junior Guru Wannabe
 
Join Date: Mar 2001
Posts: 31
yep, I agree with Vincent...sounds like your isp has a block on .htaccess file uploads. Give them a ring and find out :-)

regards,

Simon

__________________
Simon Weller
Web Hosting Network
http://www.www-hosting.net
The home of WHNBilling

Sponsored Links
  #4  
Old 03-05-2001, 01:17 PM
Tim Greer Tim Greer is offline
<insert something witty>
 
Join Date: Apr 2000
Location: California
Posts: 3,051
Quote:
Originally posted by Ellmb
I pay for web space and don't know alot about hosting sites. I want a standard 404 message and i think i know how to do it, when i try and upload the .htaccess file through FTP it says that it is a forbidden file name. When i upload the basic txt file and then try and rename it in CuteFTP or Dreamweavers upload facility both programs just freeze on me and then time out.

Is it my host? am i doing anything wrong?

Suggestions would be appreciated.
Do you have shell (telnet/SSH) access or are you allowed to run CGI or PHP scripts? Or, does your FTP client list or display the remote file in question? If you have any of these options or FTP does display that information, you can check and see if the file is owned by another user other then your own, of if there's one at all.

I know that a server I was working with wanted to not allow user's to alter their .htaccess files for various reasons, and they wanted to make it so the user's couldn't overwrite the existing one, which was owned by root and set to a permission level that would deny anyone but root to overwrite it. This person stated that their FTP client (which happened to be CuteFTP actually) wouldn't let them overwrite, rename or delete it. I told him that since the file was in a directory owned by said user that it could be deleted without a problem. He didn't believe me for some reason, so I simply FTPed in using WS_FTP (which is what I use when on Windows) and I just selected it and deleted it without a problem.

I don't use CuteFTP, but this seems like CuteFTP has some issue about denying people the ability to delete .files that aren't owned by their user and/or group and has a lower permission setting, such as 644 (which isn't that low, nor is it a good or workable protection). Certainly, if a file exists already, then in FTP you can't rename another file to that file's name, even if it's owned by you. If you have shell access, you can likely delete the file there, if it does exist.

Of course, it may by the provider in question, as there's certainly (easy) ways to deny user's from uploading, renaming or overwriting certain file names and directory names. Some providers do deny uploading or renaming files to that name, for various reasons. Although I believe they should just disable user's from using .htaccess and not worry about uploads, etc. Perhaps just only allow user's to input error directives only would be a better solution? This issue of CuteFTP though, makes me wonder if it's just that simple. Something to check out, I guess. When in doubt, email your provider's support contact and ask. Your provider may very well offer custom 404 pages. Try uploading a file called 404.html or missing.html and access an invalid URL on your site and see what happens.

[Edited by Tim_Greer on 03-05-2001 at 12:25 PM]

Reply

Related posts from TheWhir.com
Title Type Date Posted
Unusual DNS Error Leads to Internet Outage in China Web Hosting News 2014-01-21 12:16:24
Lengthy Outages for Hacker News, FastHosts Web Hosting News 2014-01-06 09:56:36
Data Storage Corporation Acquires Message Logic Email Archiving Software Web Hosting News 2013-07-22 08:58:32
Web Host SoftLayer Launches Message Queue Service for Scalable Software System Communication Web Hosting News 2012-09-13 17:26:30
Web Hosting Talk Message Board Back Online Following DDoS Attack Web Hosting News 2012-09-12 11:59:42


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?