« MBS Xojo / Real Studi… | Home | Xojo Sale »

Tip of the day: avoiding cgi in the call to a web app

if your web app has an URL like this:


you can also have it like this:


For that to work, you need to modify the default .htaccess created by Xojo to look like this:
Options +ExecCGI +Indexes
DirectoryIndex webstarterkit.cgi
order allow,deny
deny from all
<Files *.cgi>
allow from all
<Files "">
allow from all
So we added the "+Indexes" and we added the line with "DirectoryIndex webstarterkit.cgi" with the name of our CGI. Next we added the allow to all for the Files with an empty name. This will make sure you don't get a forbidden message.
20 01 14 - 12:22
No comments

Remember personal info?

Emoticons / Textile

Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.