500 internal server error

Post Reply
User avatar
amr
Master Bludit
Posts: 56
Joined: Fri Apr 22, 2016 8:36 am
Location: Egypt
Contact:

Dear , i am receiving error 500 after uploading bludit to the server

after messing around , when i remove .htaccess file i get to see the installation otherwise i cannot
how to solve?

Code: Select all

[b]Internal Server Error[/b]

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator  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.
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

Hi,
why remove the .htaccess ? could you show me the .htaccess content ?

And what is your URL?

thanks
User avatar
amr
Master Bludit
Posts: 56
Joined: Fri Apr 22, 2016 8:36 am
Location: Egypt
Contact:

.htaccess contents :

Code: Select all

# Do not remove this line or mod_rewrite rules and search engine friendly URLs will stop working
RewriteBase /
s to .txt files
RewriteRule ^bl-content/(.*)\.txt$ - [R=404,L]

# All URL process by index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*) index.php [PT,L]

</IfModule>
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

This is the default .htaccess:

Code: Select all

AddDefaultCharset UTF-8

<IfModule mod_rewrite.c>

# Enable rewrite rules
RewriteEngine on

# Deny direct access to .txt files
RewriteRule ^bl-content/(.*)\.txt$ - [R=404,L]

# All URL process by index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*) index.php [PT,L]

</IfModule>
Where is your .htaccess from?

1) The following is missing to enable the rewritte rules in .htaccess:

Code: Select all

# Enable rewrite rules
RewriteEngine on
2) What is the idea of the following:

Code: Select all

s to .txt files
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

Edi +1
User avatar
amr
Master Bludit
Posts: 56
Joined: Fri Apr 22, 2016 8:36 am
Location: Egypt
Contact:

worked , thanks guys
Post Reply