apache - deploying django, error : /mysite.fcgi/ was not found on this server, in shared hosting -


/home/public_html/.htaccess

.htaccess

addhandler fastcgi-script .fcgi rewriteengine on rewritecond %{request_filename} !-f rewriterule ^(.*)$ /mysite.fcgi/$1 [qsa,l] 

mysite.fcgi path : /home/public_html/mysite.fcgi

i changed permission 755(mysite.fcgi)

after executing

not found

the requested url /mysite.fcgi/ not found on server.

additionally, 404 not found error encountered while trying use errordocument handle request.

addhandler fastcgi-script .fcgi  <ifmodule mod_fcgid.c>     addhandler fcgid-script .fcgi     <files ~ (\.fcgi)>         sethandler fcgid-script         options +followsymlinks +execcgi     </files> </ifmodule>  rewriteengine on rewritecond %{request_filename} !-f rewriterule ^(.*)$ /mysite.fcgi/$1 [qsa,l] 

this works me


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -