Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: ElFroggio on April 12, 2015, 04:38:14 PM

Title: httpd.conf custom template
Post by: ElFroggio 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
Title: Re: httpd.conf custom template
Post by: stephdl 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)
Title: Re: httpd.conf custom template
Post by: ElFroggio on April 12, 2015, 08:13:38 PM
Thanks

/Syv
Title: Re: httpd.conf custom template
Post by: CharlieBrady 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?
Title: Re: httpd.conf custom template
Post by: ElFroggio 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
Title: Re: httpd.conf custom template
Post by: janet 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.