Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: ctoshack on July 25, 2004, 07:42:45 AM
-
Yes I am a Newbie. I have someone installing a script for me and he needs to know the path to perl.. I understand that perl is installed but not activated. I need to know how to activate perl and make it work. I tried to follow this but it still doesn't seem to work.
http://no.longer.valid/phpwiki/index.php/SME%205.x%20mod_perl%20HowTo?action=BackLinks
:-? :hammer:
-
Do I need to do the second part to that HOW TO if so I think that's where I screwed up somehow.. I noticed also it say sme5 I couldn't find one for 6
-
The usual location is
#!/usr/bin/perl
What version of sme are you using?
Have you enabled Execution of dynamic content (CGI, PHP, SSI) for the ibay?
if not your scripts will not run
Bob
-
I'm using the latest version of sme.
The script is installed in the primary i-bay unlike the other ibays you can not modify it. Is Execution of dynamic content (CGI, PHP, SSI) not default activated on the primary ibay I know you have to turn it on for added ibays
-
The other thing I can suggest it to look at
http://edocs.mitel.com/6000_SME_Server/6000_MAS_rls5.6/sme_admin_guide_en.pdf
It is for e-smith 5.6, but a lot of it is very aplicable to 6.0. That is where I learned a lot about sme. I also did a lot of searching, and read a lot of the questions and answers (even if the did not apply to my problem) I am still a newbie myself, but try to help :-D
Bob
-
I looked in the admin guide can't seem to find anything.
-
The script is installed in the primary i-bay unlike the other ibays you can not modify it. Is Execution of dynamic content (CGI, PHP, SSI) not default activated on the primary ibay I know you have to turn it on for added ibays
You might be better served to create an ibay for the script, enable the execution of files and place link on your main pages to it. This way you can turn the script functionality on and off without upsetting the behavior of your main web site.
Also, the "which" command will return the path to command file. The "locate" command is very useful in finding stuff but returns every path with a match. Use the "updatedb" command to, well, update the database used by the "locate" command.
hth,
- Mark
-
Problem solved guys thanks