These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Redirecting html requests to a python script on the new forum.
Trying 5 hours now....i quit....
all i want to do is redirect every html request coming to 403 Forbidden which is actually /home/varsa/public_html to /home/varsa/public_html/cgi-bin/index.py
utilizing this .htaccess file inside public_html
Code: IndexIgnore * AddHandler cgi-script .py Options +ExecCGI
RewriteEngine On RewriteRule ^/?(.+.html) /cgi-bin/index.py [L,PT,QSA] and i keep getting all kinf of error the last being
Code: [Thu Oct 29 02:23:11.426675 2015] [autoindex:error] [pid 29057] [client 176.92.180.140:63437] AH01276: Cannot serve directory /home/varsa/public_html/: No matching DirectoryIndex (index.html,index.htm,index.php,index.php4,index.php5)