|
Home > Archive > Apache Server configuration support > May 2006 > directory: etc/httpd/<SITE NAME>/rewritecustom
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
directory: etc/httpd/<SITE NAME>/rewritecustom
|
|
|
|
| Davide Bianchi 2006-05-25, 1:25 am |
| On 2006-05-24, John Jay Smith <1@2.3> wrote:
> Does apache has this directory?
> etc/httpd/<SITE NAME>/rewritecustom
Not in my system.
> And if it doesnt one can create it so he can add the parameters in the post
> below?
You can create wathever directory and configuration file you want, but if
you don't "include" it in your main configuration file it will be useless.
Davide
--
Er, what does SCSI have to do with old weapons? They both are better for
maiming than killing? --Lars Balker Rasmussen, Art
| |
| John Jay Smith 2006-05-25, 1:25 am |
| you are talking to a super newbie here... can you elaborate on that?
did you see this post here?
http://forum.mamboserver.com/showth...8860#post288860
does this seem like something that a person can do with apache and how?
"Davide Bianchi" <davideyeahsure@onlyforfun.net> wrote in message
news:slrne78p0u.2a9.davideyeahsure@fogg.onlyforfun.net...
> On 2006-05-24, John Jay Smith <1@2.3> wrote:
>
> Not in my system.
>
>
> You can create wathever directory and configuration file you want, but if
> you don't "include" it in your main configuration file it will be useless.
>
> Davide
>
> --
> Er, what does SCSI have to do with old weapons? They both are better for
> maiming than killing? --Lars Balker Rasmussen, Art
| |
| Davide Bianchi 2006-05-25, 1:25 am |
| On 2006-05-24, John Jay Smith <1@2.3> wrote:
> you are talking to a super newbie here... can you elaborate on that?
Apache uses ONE configuration file (normally httpd.conf, sometimes different
'porting' or distributions uses different names).
But sometimes having everything in one single config file is more of a
problem. So for maintenance reasons it is possible to 'split' the
configuration file in multiple files and directories, as long as the
'main' config file contains an 'include /this/that/config.file' or
an 'include /this/that/*.conf' that will include all the files ending in
'.conf' in /this/that directory.
Of course, if you write a config file but don't include it in the
'main' config file there is no point.
So, your question was "do you have this/that config file/dir in your
system?" , well, I don't have it in mine.
> did you see this post here?
I gave him a quick look, didn't read the whole thing because they are
talking mostly about rewrite rules for frontpage that I don't use,
don't like and won't implement anyway.
> does this seem like something that a person can do with apache and how?
Well... You can *always* add Rewrite rules in your configuration files
without the need for creating multiple config files and directory.
You could just cut & paste the proposed configuration changes in your
httpd.conf, run a quick configtest on it, and see if it does what you
want. Remember to save the config file before messing with it (so you
can revert your changes eventually).
I'm no rewrite expert myself, but most peoples that read this group are
quite proficient in it.
Davide
--
Reset button? Which reset button? - Linux, the OS that never sleeps.
-- Havlik Denis
| |
| John Jay Smith 2006-05-25, 1:25 am |
| thanks for you help davide :-)
I am assuming that it has to go inside that folder because this is a server
that has many different sites on it, not only mine.....
does this sound logical?
"Davide Bianchi" <davideyeahsure@onlyforfun.net> wrote in message
news:slrne78r5h.2a9.davideyeahsure@fogg.onlyforfun.net...
> On 2006-05-24, John Jay Smith <1@2.3> wrote:
>
> Apache uses ONE configuration file (normally httpd.conf, sometimes
> different
> 'porting' or distributions uses different names).
>
> But sometimes having everything in one single config file is more of a
> problem. So for maintenance reasons it is possible to 'split' the
> configuration file in multiple files and directories, as long as the
> 'main' config file contains an 'include /this/that/config.file' or
> an 'include /this/that/*.conf' that will include all the files ending in
> '.conf' in /this/that directory.
>
> Of course, if you write a config file but don't include it in the
> 'main' config file there is no point.
>
> So, your question was "do you have this/that config file/dir in your
> system?" , well, I don't have it in mine.
>
>
> I gave him a quick look, didn't read the whole thing because they are
> talking mostly about rewrite rules for frontpage that I don't use,
> don't like and won't implement anyway.
>
>
> Well... You can *always* add Rewrite rules in your configuration files
> without the need for creating multiple config files and directory.
>
> You could just cut & paste the proposed configuration changes in your
> httpd.conf, run a quick configtest on it, and see if it does what you
> want. Remember to save the config file before messing with it (so you
> can revert your changes eventually).
>
> I'm no rewrite expert myself, but most peoples that read this group are
> quite proficient in it.
>
> Davide
>
> --
> Reset button? Which reset button? - Linux, the OS that never sleeps.
> -- Havlik Denis
| |
| Davide Bianchi 2006-05-25, 1:25 am |
| On 2006-05-24, John Jay Smith <1@2.3> wrote:
> I am assuming that it has to go inside that folder because this is a server
> that has many different sites on it, not only mine.....
> does this sound logical?
It does, but I'm not familiar with your specific configuration /
installation, so I can't really say. You'll have to look at the details
of your specific configuration by yourself.
Davide
--
Q: How many Microsoft vice presidents does it take to change a light bulb?
A: Eight. One to work the bulb, and seven to make sure that Microsoft gets $2
for every light bulb ever changed anywhere in the world.
|
|
|
|
|