forum-msg-id-135398-edit

Original date:2021-01-06 15:14:54 Edited by: ghaberek Subject: Re: euphoria-mvc - app:run()

Did you follow the Add CGI Handler part of the README? Basically, the app:run() handler expects the web server to be doing path rewrites and using your script (index.esp) in CGI as the default path handler.

# Add CGI handler for index.esp 
AddHandler cgi-script .esp 
DirectoryIndex index.esp 
Options +ExecCGI 
 
# Send all non-existant paths to index.esp 
RewriteEngine On 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteRule ^(.*)$ index.esp/$1 [L,NS] 

-Greg

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu