How to create a .info file
Well, apt on our Debian etch distribution has been giving us trouble for a long time as we hadn't created a .info file for the modules we had created. This was probably due to the fact that we used the httpd.conf file that we had edited to load the modules we had created.
So we created a .info file for both modules, inthe following way:
So we created a .info file for both modules, inthe following way:
- Create a text file containing at least the line to load your module, such as
LoadModule: jaspacho_module /usr/lib/apache/1.3/mod_jaspacho.so
You can replace jaspacho_module with you module name, and the path with your module's path. - Now, save your file as something like 500mod_jaspacho.info. The 3 digit integer is a label to determine the order in which modules will be loaded. Lower numbers are loaded first. It is best to put 500 for this, unless the order of loading is important to your module. The rest of the file name is the same as that of your module's compile filename(without the extension that is).
- You can also add a description line to the .info file, by placing a line in the following format after the LoadModule line:
Description: Description of module ... - Now, place this file in the same directory as the one in which your compile module is stored by apache.

0 Comments:
Post a Comment
<< Home