4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 htaccess file issues
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
candywebster
Junior WebHelper
Junior WebHelper


Joined: 14 Aug 2006
Posts: 2
Location: Chuluota, FL

PostPosted: Mon Aug 14, 2006 10:33 pm (11 years, 1 month ago) Reply with QuoteBack to Top

Crying or Very sad
Hello............

I have an .htaccess file on my website with 2 problems I can't resolve:

(1) Showing a custom error page instead of the "404 error page not found" message. It works great with Foxfire, Netscape. It works fine wiith IE "everywhere" as far as I have been able to determine, but NOT with IE on my own computer!!

I've disabled my firewall that makes no difference. My web site: http://www.candylandcrafts.com/ (it is not hosted on my computer, it is hosted on Superb)

If you type an incorrect url like: http://www.candylandcrafts.com/test.htm
you should get my custom error page. For the life of me I can't figure out why it doesn't work with IE for me.

The htaccess line is: ErrorDocument 404 /404errorpage.htm

(2) The 2nd problem is denying browser access to the .htaccess file itself. Everything I read says this will work:

<Files .htaccess>
Order deny,allow
Deny from all
</Files>

But it won't................... if you type in http://www.candylandcrafts.com/.htaccess you'll get the file

Any suggestions are really appreciated.
Joe Hussar
candywebster@aol.com
OfflineView User's ProfileFind all posts by candywebsterSend Personal MessageSend emailVisit Poster's Website
thetribe
WebHelper
WebHelper


Joined: 10 Nov 2002
Posts: 62
Location: Ashington, Northumberland. UK

PostPosted: Tue Aug 15, 2006 8:07 am (11 years, 1 month ago) Reply with QuoteBack to Top

I get the custom error page with FireFox and also with IE6. You didn't check before you created the error page and have the old page in the cache? Only thing I can think of at the moment.

As for accessing the .htaccess file via browser I'm unsure of how to sort this, mine is protected by default on my host as I've not changed a thing but access is forbidden.

________________________________
Phil.
My Musical Preferences
Image
OfflineView User's ProfileFind all posts by thetribeSend Personal MessageVisit Poster's Website
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Tue Aug 15, 2006 9:26 am (11 years, 1 month ago) Reply with QuoteBack to Top

thetribe is right, access to .htaccess should be denied by default. You should contact your host and tell them their server is mis-configured.

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
candywebster
Junior WebHelper
Junior WebHelper


Joined: 14 Aug 2006
Posts: 2
Location: Chuluota, FL

PostPosted: Tue Aug 15, 2006 10:57 am (11 years, 1 month ago) Reply with QuoteBack to Top

The problem isn't cache/cookie.

Thanks for replys... I'll definitely contact my host........... but the code itself (according to several sources I found) is supposed to deny htaccess visibility.

Computers: can't live with 'm and can't live without 'm

Thanks!
OfflineView User's ProfileFind all posts by candywebsterSend Personal MessageSend emailVisit Poster's Website
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




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.


Page generation time: 0.053582 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme