View Single Post
  #1  
Old 03-19-2008, 02:17 PM
CptMath CptMath is offline
New Member
 
Join Date: Mar 2008
Posts: 3
Default How to add a .fcgi on a shared host?

Hi,

I'm on a shared host running Litespeed. I know that using an .htaccess file on Apache you can easily do AddHandler to configure how the server works with a certain file, but this does not seem to be working. Litespeed does claim to be compatible with .htaccess, but I'm not sure why this isn't working.

Here's what I have.
Code:
AddHandler fastcgi-script .fcgi
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ mysite.fcgi/$1 [QSA,L]
It's pretty simple, yet it seems to be 404ing for some reason. I can confirm that the site is accessed fine when I take away the .htaccess file.

I know there's something to the effect of using a control panel to add CGI apps, but I am not the admin of this server, it is a shared host. If someone could please let me know how to do this, that'd be great.

Thanks,
CptMath
Reply With Quote