0

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

When i follow the url http://youtuna.in it shows an internal server error.So i contact to hosting provider regarding this they said it's a script problem and developer says it's a server problem.Please anyone clear me Whats the acutall problem.I m new in this.

  • Please show me your .htaccess file – kokom Jul 30 '19 at 13:47
  • Thats a problem the developer not make any htaccess file. – Codeslide Creation Jul 30 '19 at 13:58
  • Okay, I'm sorry I can't help up you. – kokom Jul 30 '19 at 14:10
  • The problem is with my addon domain and below i provide you the htaccess of my main domain when this htaccess file on the addopn domain youtuna.in shows internal server error.But youtuna.in has no htaccess file. – Codeslide Creation Jul 30 '19 at 14:13
  • Main domain htaccess file code `RewriteEngine on RewriteCond $1 !^(index.php|assets|images|js|css|uploads|favicon.png|install|sitemap.xml|robots.txt|update_database) RewriteCond %(REQUEST_FILENAME) !-f RewriteCond %(REQUEST_FILENAME) !-d RewriteRule ^(.*)$ index.php?/$1 [L] order allow,deny allow from all AddHandler send-as-is .asis ` – Codeslide Creation Jul 30 '19 at 14:13
  • Please check up my answer... – kokom Jul 30 '19 at 14:37

1 Answers1

0

Let me try to answer this question

Your code is:

RewriteEngine on 
RewriteCond $1 !^(index.php|assets|images|js|css|uploads|favicon.png|install|sitemap.xml|robots.txt|update_database) 
RewriteCond %(REQUEST_FILENAME) !-f 
RewriteCond %(REQUEST_FILENAME) !-d 
RewriteRule ^(.*)$ index.php?/$1 [L] 
<Files 403.shtml> 
order allow,deny allow from all </Files> 
AddHandler send-as-is .asis

For a reason like on What is this file in .htaccess? you can remove the code as follow:

<Files 403.shtml> 
    order allow,deny allow from all </Files> 

Then I think you can access your website again as I was tried it on my localhost and then I can accessed it too. You can inform to you webhosting company to confirm the existence of code as follow on your .htaccess file because of some people think it's a XSS backdoor program (https://forums.digitalpoint.com/threads/files-403-shtml-order-allow-deny-allow-from-all.2748859/#post-19140446)

I hope this answer can help up you.

kokom
  • 121
  • 6
  • I create one project on file managing and downloading. But the file is download directly when user follow the download link.so i want to create download page like this http://veno.es/filemanager/?dl=4eceed883345d041634f5b21136b807c here is my downloadfile.php code https://pasteshr.com/EDM4cRSx8g – Codeslide Creation Aug 01 '19 at 17:05
  • If you want to ask a solution for a new code, please create new question by click https://stackoverflow.com/questions/ask – kokom Aug 02 '19 at 00:02