Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

Scripts not Running; Displaying as Text

posted by CaptTofu on 09:25 AM April 20th, 2000   Printer-friendly   Email story
Taxslave writes "I've installed everything according to the instructions, as best I can. Now, I'm down to the end and attempting to load admin.pl, but it loads as source text. I found an older story about this, and tried to find an answer, but haven't.

I'm running Mandrake 7.0, installed Apache from the rpms on the CD, and upgraded everything that seemed to need it. I copied the httpd.conf from the slash distribution to my /usr/local/apache/conf directory, and the addhandler for .pl files is in place.

How can I verify that Apache is even using the right httpd.conf, and is there anything else that I might want to look at to find this problem? Is there any more information necessary to find my answer? "

I just can't say it enough. Don't use the RPMs! Follow the INSTALL. You have to follow the INSTALL, and install from source, or it won't work like it should.

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • by Anonymous Coward
    BTW, installation would be a whole lot easier if this suggestion in your INSTALL doc worked:

    perl -MCPAN -e "install 'Bundle::Slash'"

    There's no Bundle::Slash at CPAN. And yes, I fixed the quotes.


  • by Anonymous Coward

    I had tried to follow the default rpm install but it simply doesn't work. To those of you who are still trying - don't. You can keep the mysql and perl (although you will need to create a link to simulate /usr/local/mysql/include if you are red hat based). The rest you need to recompile: takes a wee while but is worth it cos then you can get on with the good stuff!

    Cheers

    J

  • by Anonymous Coward
    I'm still having this same problem, and I don't understand your suggestion. I've been hacking httpd.conf for several days, it seems that I've got mod_perl running because I can run a "hello world" perl script, but I can't run any of the other scripts. If I add anything from the httpd.conf provided with slash, httpd dies when I launch or SIGHUP.
    I could sure use some suggestions. Apparently I have everything running, slashd runs, the main page builds, but I can't run admin.pl or anything else. And whenever
  • by Anonymous Coward
    Sorry, I running FreeBSD 4.0-STABLE. And using the base install dosn't seem to work for me either. Don't use your RPMS, compile it from source. Very much like it says in the directions. I cant say the exact reason, only that you stand a better chance that way. James Whitfield
  • by Anonymous Coward
    I was having this same problem, I read this article and I refused to believe that I would have to re-compile and install a package that was (besides slashcode) working perfectly. Here's what fixed it for me. 1. I only copied the perl script from the bottom of the httpd.conf that is given in the gz to the bottom of the current httpd.conf 2. I had to add a "addhandler perl-script .pl" to the current httpd.conf 3. and heres the trick. I also had to go into the addon_modules directory under the conf directory and change the paths to reflect the new location of the files. Once this was done it has been working BEAUTIFULLY!!! Now I just have to edit ALL the icons and ALL the text to reflect my site..but other than that it's done :) THANK you for such a wonderful project! I have tried every other thing besides slash, and after getting this to work (finally) I have to say they are nothing compared to this!!
  • I submitted that quite some time back. I've since gotten it running on my system, then migrated to my ISP and now the whole shebang is working.

    Well, not the whole shebang. Still some problems since upgrading to the current version that I suspect may be caused by the bundle changes, but I haven't got the time to deal with it today :)

  • by Anonymous Coward
    I have attempted a couple of times to install slash. Both successful. Once doing the whole source thing. This time around I I simply used RPM's and simply apxs'ed mod_perl and made necessary changes to my running httpd.conf and eveyrthing seems to be quite happy.