.htaccess

Status
Not open for further replies.

cgbf3

New Member
Messages
4
Reaction score
0
Points
1
Hi I'm trying to install a new script but everytime I add .htaccess file I get...
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at no-reply@x10hosting.com to inform them of the time this error occurred, and the actions you performed just before this 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.

I've tried adding RewriteBase / but that does not help... after hours of reading and trying different options I removed everything from .htaccess so I just have a blank .htaccess file and I still get the above error, from what I've read here we can use .htaccess but nothing is working my end, any help would be greatly appreciated.
 

lylex10h

Active Member
Messages
982
Reaction score
71
Points
28
If your .htaccess is blank, check permissions; folders should be 755 and files 644
 

nmcarpet

New Member
Messages
10
Reaction score
0
Points
1
# Powered by x10Premium.com
Header set Cache-Control "max-age=0, private, no-cache, no-store, must-revalidate"
DirectoryIndex index.php index.cgi index.html
ErrorDocument 401 "Unauthorized"
ErrorDocument 403 "Forbidden"
RewriteEngine On

#### PERSISTENT CONTENT ####



#### PERSISTENT CONTENT END ####

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ sitepro/$1 [L,QSA]


#### PERSISTENT CONTENT ####
-----------------------------------------------------
This .htaccess works in my cpanel, I think you forgot to turn on rewrite...
 
Status
Not open for further replies.
Top