Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Works with .pl (and mod_perl completely turned off), but not .cgi #8

Open
byrnereese opened this issue Jan 16, 2010 · 3 comments
Open

Comments

@byrnereese
Copy link

Ok, so this is what is happening.

In my docroot I have a test.cgi that is properly being run through mod_perlite. When I try to access Movable Type at http://72.47.209.76/mt/mt.cgi I don't get anything. Chrome downloads a blank file.

@byrnereese
Copy link
Author

Reproduced in Safari as well.

@byrnereese
Copy link
Author

So I wonder, is there something conflicting with my Apache config?

Here is what I have. In conf.d/modperlite.conf:

LoadModule perlite_module    modules/mod_perlite.so
AddType application/x-httpd-perlite .pl .cgi
DirectoryIndex index.pl

In my vhosts.conf for this domain:

SetEnv MT_HOME /var/www/vhosts/testing.majordojo.com/httpdocs/mt
<IfModule mod_perlite.c>
      AddType application/x-httpd-perlite .pl .cgi
</IfModule>
#<Directory /var/www/vhosts/testing.majordojo.com/httpdocs/mt>
#  Options FollowSymLinks Includes
#  AllowOverride Limit
#  Order allow,deny
#  Allow from all
#</Directory>

@byrnereese
Copy link
Author

I am closing this ticket because I found out what I am doing wrong and i am too embarrassed to say what it was.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant