Web Hosting Talk







View Full Version : deleting .htaccess?


NationHosts
03-14-2003, 04:42 PM
All the accounts I created I get a really weird error

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@lance.nationhosts.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/1.3.27 Server at www.lance.nationhosts.com Port 80

and supposedly when my sysadmin deleted the .htaccess it worked for my account but I dunno how to delete htaccess or how to possibly fix this error, it's really bugging me, every user I create it does this, please help.

serial
03-14-2003, 05:11 PM
Are you using a control panel? What OS/ver. are you running?

NationHosts
03-14-2003, 05:12 PM
yes I'm using WHM and it's Linux Redhat 8.0, I'm on FDCservers.net renting a dedicated there.

serial
03-14-2003, 05:14 PM
Check /root/cpanel3-skel/public_html/ to see if there's an .htaccess file within.

mainarea
03-14-2003, 05:14 PM
Strange... everything gives back a 500 error... was the .htaccess file actually deleted, or was it just erased?

- Matt

NationHosts
03-14-2003, 05:18 PM
I believe when he deleted it it fixed everything, yeah I just assigned an IP to nationhosts.com and another clients so it's showing my other clients page lance.nationhosts.com for some reason...

NationHosts
03-14-2003, 05:20 PM
Nope, just telnetted in don't see any file by that name.

mainarea
03-14-2003, 05:22 PM
Hmmm.... check your httpd.conf settings (post one of the settings for a domain that isn't working). Also, I'd check /root/cpanel3-skel/public_html/ as mentioned earlier, check the contents of the .htaccess file in that directory.

- Matt

mainarea
03-14-2003, 05:22 PM
Hmmmm.....

let me brainstorm some more...

- Matt

deadserious
03-14-2003, 05:24 PM
how to delete .htacess from ssh:

rm .htaccess



how to list hiden files such as .htaccess from ssh:

ls -a

or:

ls -la

:D

bglkk
03-14-2003, 05:31 PM
[i]how to list hiden files such as .htaccess from ssh:

ls -a

or:

ls -la

:D [/B]

-la also works with ftp if you're using program such as WS_FTP.

NationHosts
03-14-2003, 05:31 PM
Do you think this will cause the problem of that error my customers keep getting when I create their accounts?