Reply
New Visitor
carib0u
Posts: 3
Registered: ‎06-27-2012

Added .htaccess file, now I'm having problems

I uploaded (via FTP) an .htaccess file to my site, but am now getting errors (500 and now what looks like is a general error). I see this has been brought up on older threads, but can't seem to uderstand how the problem was resolved in the past.

 

What should I do? Is there a way to just reset my personal web pages hosting? I could live without the .htaccess file if need be.

Bronze Problem Solver
reasd
Posts: 4,619
Registered: ‎02-22-2007

Re: Added .htaccess file, now I'm having problems

[ Edited ]

Hello,

No, but if you want to you can try to password -protect a directory, It worked a long time ago dont know if it works now.
New Visitor
carib0u
Posts: 3
Registered: ‎06-27-2012

Re: Added .htaccess file, now I'm having problems

How would I go about trying that? I don't see that as an option anywhere.

Web Page Expert
lead5alpha
Posts: 1,153
Registered: ‎12-15-2007

Re: Added .htaccess file, now I'm having problems

You can not password protect a directory on comcast.  Comcast does not allow any server side scripting (mysql, cgi, php, etc).  You could use javascript (client side) to password protect a specific web page but it is not really a fully secure method.

New Visitor
carib0u
Posts: 3
Registered: ‎06-27-2012

Re: Added .htaccess file, now I'm having problems

Ok, I finally figured out a solution and figured I'd share it here in case someone adds an .htaccess file to their personal web page via FTP and experiences the problems I did. (I don't know if this is the best/only way to fix the problem, but it worked for me.)

 

The trick is to create a new .htaccess file that is completely blank, i.e. no text or anything whatsoever. Then upload that to where the first one was uploaded. Everything works again, from what I can tell.

Web Page Expert
BethKatz
Posts: 5,889
Registered: ‎11-14-2006

Re: Added .htaccess file, now I'm having problems

I gather you couldn't just delete the .htaccess file you had added? Maybe use FTP?

 

Anyway, Comcast does not support the .htaccess files. And password protection is not supported by the Comcast server. You can see things when you are logged in, but from a web browsing view, files are either visible or not.

 

You can fake it as I did in the example page below where the password is thePassword:

http://home.comcast.net/~bethkatz/tips/password.html

New Visitor
BSPiotr
Posts: 1
Registered: ‎10-05-2012

Re: Added .htaccess file, now I'm having problems

THANK YOU SO MUCH.

 

Such a simple solution too. I deleted the file originally, but didn't have luck restoring functionality.

 

In 30 seconds of googling to see if the issue had any updates, you've solved a problem I couldn't get past Comcast.