Jump to content

Loadmodule: Command Not Found


Recommended Posts

Hi family =D

 

I'm trying to run a shell command as cron.

 

This is the command:

 

>LoadModule expires_module modules/mod_expires.so

 

I then get a mail from the cron project saying this:

 

/bin/sh: line 1: LoadModule: command not found

 

What's wrong?

Link to comment
Share on other sites

It is not something that can be run. Normally, what you would do is uncomment the line in httpd.conf (it appears exactly as you have it in the default Apache httpd.conf, commented out), or add it if it is not there, then restart Apache.

 

You do not have the ability to load server modules or edit the server's httpd.conf file on TCH servers. But TCH servers appear to be configured to load that module already (I checked the server my account is hosted on, and mod_expires was loaded), so I don't know why you feel you need to do this. :thumbup1:

 

It might help if you could explain what you're trying to do that led you to believe that you need to 'run' this 'command'. ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...