• Uncategorized

About linux : htaccess-not-working-when-added-Addhandler

Question Detail

I have this htaccess file

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

this is working for php but when i add

Options +ExecCGI
AddHandler cgi-script .py 

AddHandler to it to run python also then getting 404 not found when accessing domain


Any solution Thanks

Question Answer

No answer for now.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.