Koozali.org: home of the SME Server

httpd.conf custom template

Offline ElFroggio

  • *
  • 262
  • +0/-0
httpd.conf custom template
« on: April 12, 2015, 04:38:14 PM »
Hi,

I want to load 'checkspelling' to make httpd case insensitive

Code: [Select]
LoadModule speling_module modules/mod_speling.so
How does the numbering scheme matters?

Should I call it: 20LoadModule20 or 40 or 60 or 80?

Thanks

Syv

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: httpd.conf custom template
« Reply #1 on: April 12, 2015, 05:52:43 PM »
Code: [Select]
LoadModule speling_module modules/mod_speling.so
How does the numbering scheme matters?

Should I call it: 20LoadModule20 or 40 or 60 or 80?

The number is given to sort alphabetically the fragment templates and thus determinate the position where your fragment is added in the template. Here I'm not sure that it is really important but with complex template you might need to think where to add your fragment (before or after other instructions)
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline ElFroggio

  • *
  • 262
  • +0/-0
Re: httpd.conf custom template
« Reply #2 on: April 12, 2015, 08:13:38 PM »
Thanks

/Syv

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: httpd.conf custom template
« Reply #3 on: April 13, 2015, 03:43:58 AM »
I want to load 'checkspelling' to make httpd case insensitive

Why? Why don't you just fix the web-pages which have the bad links?

Offline ElFroggio

  • *
  • 262
  • +0/-0
Re: httpd.conf custom template
« Reply #4 on: April 13, 2015, 04:19:32 PM »
Why? Why don't you just fix the web-pages which have the bad links?
Because it's a whole website that came from a case insensitive OS (MS) to a case sensitive (SME) and there was a 'whole set of reorganization'. so making it case insensitive cut down a lot on the work to be done.

Thanks

/Syv

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: httpd.conf custom template
« Reply #5 on: April 13, 2015, 06:20:05 PM »
ElFroggio et al

Quote
..... it's a whole website that came from a case insensitive OS (MS) to a case sensitive (SME).....

Sounds like another example of less experienced or less forward thinking coders only writing code to suit case insensitive Windows servers, & neglecting the possibility that the code could be used on Linux systems (which are case sensitive).
This type of thinking can also apply to applications written on Windows systems & then transferred to a Linux server.

The use of search & replace function in an editor is the way to fix the code.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.