Re: does this work with apache 1.3.x ?

"Marin Micoriciu" <[email protected]> Tue, 29 Mar 2005 16:04:24 +0300
Newsgroups gmane.comp.apache.mod-layout
Message-ID <000801c5345f$e7f75250$7d334d52@ax>
That line should be inside your <VirtualHost> </VirtualHost>.
Like:

<VirtualHost www.borgnet.tld:80>
Layout "<-- copyright -->" "Copyright Foobar, 2000"
</VirtualHost>


----- Original Message ----- 
From: "Scott Grayban" <[email protected]>
To: <[email protected]>
Sent: Tuesday, March 29, 2005 12:10 PM
Subject: Re: [Mod_layout] does this work with apache 1.3.x ?


> Nope.
>
> I have 1 simple line in my conf.
>
> <Directory "/var/www/html/vhosts/borgnet">
> allow from all
> deny via sbl-xbl.spamhaus.org
> Options ExecCGI FollowSymLinks Includes Indexes 
> SymLinksIfOwnerMatch -MultiViews
> XBitHack on
> Layout "<-- copyright -->"  "Copyright (c) BORGNET dot US, 2005" replace
> </Directory>
>
>
> And configtest shows no errors but the webpage shows blank if I use any 
> layout directives.
>
> This is what my apache is compliled with:
> [root@borgnet etc]$
> $ httpd -v
> Server version: Apache-AdvancedExtranetServer/1.3.31 
> (Mandrakelinux/7.1.101mdk)
> Server built:   Nov 10 2004 18:11:36
>
> [root@borgnet etc]$
> $ httpd -V
> Server version: Apache-AdvancedExtranetServer/1.3.31 
> (Mandrakelinux/7.1.101mdk)
> Server built:   Nov 10 2004 18:11:36
> Server's Module Magic Number: 19990320:16
> Server compiled with....
> -D EAPI
> -D EAPI_MM
> -D EAPI_MM_CORE_PATH="/var/apache-mm/mm"
> -D HAVE_MMAP
> -D HAVE_SHMGET
> -D USE_SHMGET_SCOREBOARD
> -D USE_MMAP_FILES
> -D HAVE_FCNTL_SERIALIZED_ACCEPT
> -D HAVE_SYSVSEM_SERIALIZED_ACCEPT
> -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
> -D DYNAMIC_MODULE_LIMIT=64
> -D HARD_SERVER_LIMIT=256
> -D SHARED_CORE
> -D HTTPD_ROOT="/etc/httpd"
> -D SUEXEC_BIN="/usr/sbin/suexec"
> -D SHARED_CORE_DIR="/usr/lib/apache"
> -D DEFAULT_PIDLOG="/var/run/httpd.pid"
> -D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
> -D DEFAULT_LOCKFILE="/var/run/httpd.lock"
> -D DEFAULT_ERRORLOG="/var/log/httpd/error_log"
> -D TYPES_CONFIG_FILE="conf/mime.types"
> -D SERVER_CONFIG_FILE="conf/httpd.conf"
> -D ACCESS_CONFIG_FILE="conf/access.conf"
> -D RESOURCE_CONFIG_FILE="conf/srm.conf"
>
>
> Scott
>
> On Monday March 28 2005 07:17, Jennifer Oxelson wrote:
>> Does apachectl configtest reveal anything?
>>
>>
>>
>> On Sun, 27 Mar 2005, Scott Grayban wrote:
>>
>> > It is loaded. I just dont get it why it isnt working.
>> >
>> > On Sunday March 27 2005 12:47, Marin Micoriciu wrote:
>> > > Make sure that mod_layout module is loaded into apache. It should be
>> > > working. I am using it on 2 servers and they're both apache 1.3.33
>> > >
>> > > Regards.
>> > >
>> > > ----- Original Message -----
>> > > From: "Scott Grayban" <[email protected]>
>> > > To: <[email protected]>
>> > > Sent: Sunday, March 27, 2005 5:51 PM
>> > > Subject: Re: [Mod_layout] does this work with apache 1.3.x ?
>> > >
>> > >
>> > > > The example shows you can just add the Layout inside the <virtual> 
>> > > > Apache
>> > > > say's its a directive error.
>> > > > I put inside the <location> and that does nothing.
>> > > > I put it inside the <directory> and nothing comes up for the 
>> > > > website.
>> > > >
>> > > > The last 2 gives no errors. Just shows the same webpage or the 
>> > > > later which
>> > > > just shows nothing for the website.
>> > > >
>> > > > Scott
>> > > >
>> > > > On Sunday March 27 2005 06:19, Marin Micoriciu wrote:
>> > > >> Hi,
>> > > >> What errors are you getting?
>> > > >>
>> > > >> Regards,
>> > > >> Marin Micoriciu
>> > > >>
>> > > >> ----- Original Message -----
>> > > >> From: "Scott Grayban" <[email protected]>
>> > > >> To: <[email protected]>
>> > > >> Sent: Sunday, March 27, 2005 1:23 PM
>> > > >> Subject: [Mod_layout] does this work with apache 1.3.x ?
>> > > >>
>> > > >>
>> > > >> >I have been trying to get this to work with apache 1.3 without 
>> > > >> >any luck.
>> > > >> > I got the mod_layout and not the mod_layout2 one seeing that the 
>> > > >> > 2 was
>> > > >> > for
>> > > >> > apache2.
>> > > >> >
>> > > >> > After compiling it and going by the examples I find it errors on
>> > > >> > starting
>> > > >> > apache unless I put the directives inside <location> but it 
>> > > >> > doesnt seem
>> > > >> > to
>> > > >> > be working.
>> > > >> >
>> > > >> > Can someone give me a clue on how to get it working for apache 
>> > > >> > 1.3 with
>> > > >> > some better examples?
>> > > >> >
>> > > >> > Thanks,
>> > > >> > Scott
>> > > >> > _______________________________________________
>> > > >> > Mod_layout mailing list
>> > > >> > [email protected]
>> > > >> > http://lists.tangent.org/mailman/listinfo/mod_layout
>> > > >> >
>> > > >>
>> > > >> _______________________________________________
>> > > >> Mod_layout mailing list
>> > > >> [email protected]
>> > > >> http://lists.tangent.org/mailman/listinfo/mod_layout
>> > > >>
>> > > > _______________________________________________
>> > > > Mod_layout mailing list
>> > > > [email protected]
>> > > > http://lists.tangent.org/mailman/listinfo/mod_layout
>> > > >
>> > >
>> > > _______________________________________________
>> > > Mod_layout mailing list
>> > > [email protected]
>> > > http://lists.tangent.org/mailman/listinfo/mod_layout
>> > >
>> > _______________________________________________
>> > Mod_layout mailing list
>> > [email protected]
>> > http://lists.tangent.org/mailman/listinfo/mod_layout
>> >
>> _______________________________________________
>> Mod_layout mailing list
>> [email protected]
>> http://lists.tangent.org/mailman/listinfo/mod_layout
>>
>>
> _______________________________________________
> Mod_layout mailing list
> [email protected]
> http://lists.tangent.org/mailman/listinfo/mod_layout
>