Gossamer Forum
Home : Products : Gossamer Links : Discussions :

install mod_perl

Quote Reply
install mod_perl
I install mod_perl on my server but in the Environment I get Running under mod_perl: No
Do I need to do something else so GL recognize it
Quote Reply
Re: [nir] install mod_perl In reply to
In the httpd.conf I insert this code
<Location />
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader On
Options +ExecCGI
</Location>

Do I need to do more?
Quote Reply
Re: [nir] install mod_perl In reply to
Been a while since I setup mod_perl for Glinks (most sites I work on already have it setup) .. I believe you need a script of some kind, which will "import" the perl modules into mod_perl (on GT server, its a script called modperl_startup.pl ) . Not sure if that will help you find anything on the forum related to setting it up?

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [nir] install mod_perl In reply to
See the README.mod_perl documentation that comes with the installer.

Adrian
Quote Reply
Re: [Andy] install mod_perl In reply to
Thanks, the mod is working now, but for some reason the css pages and the js pages stop to work, when I look on the mysite.com/style.css I get error Category '500..html' does not exist

I insert this code to the conf

<IfModule mod_perl.c>
<Location /main/>
SetHandler perl-script
PerlHandler ModPerl::Registry
PerlSendHeader On
Options +ExecCGI
</Location>
PerlRequire /home/mysite/public_html/startup.pl
</IfModule
Quote Reply
Re: [nir] install mod_perl In reply to
Where is your cgi files? In a cgi-bin, or in outside of it? Sounds like mod_perl is trying to process ALL the files for some reason.

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] install mod_perl In reply to
I open a new folder "main" and move the user pages (page.cgi) to this folder, the admin is not in the cgi-bin.
I change the <Location /main/> but it didn’t help
Quote Reply
Re: [nir] install mod_perl In reply to
Can you show me an example of your structure? You **REALLY** should keep ALL the .cgi stuff in a seperate cgi-bin, otherwise it causes all kinda of errors and problems ;)

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] install mod_perl In reply to
The user files are like site.com/main/ admin file and like site.com/admin/
Quote Reply
Re: [nir] install mod_perl In reply to
Sorry, so you have:

site.com/main/add.cgi
site.com/main/admin/admin.cgi
site.com/index.html (glinks home)

?

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] install mod_perl In reply to
YesSmile
Quote Reply
Re: [nir] install mod_perl In reply to
MMm, afraid I don't really do much with mod_perl (most of the time its already setup on the larger sites =))

How about using a FULL path here? i.e:

<IfModule mod_perl.c>
<Location /home/user/full/path/main/>
SetHandler perl-script
PerlHandler ModPerl::Registry
PerlSendHeader On
Options +ExecCGI
</Location>
PerlRequire /home/mysite/public_html/startup.pl
</IfModule

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] install mod_perl In reply to
Thanks, it help:)Smile
Quote Reply
Re: [nir] install mod_perl In reply to
Cool Cool

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates