Re: Server Side Includes - include only a certain "xpath"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



My mistake. The file permissions are rwxr-xr-x. I hit a 'w' instead of
an 'x'.

Yes, when it fails I get a selinux message. *I WILL INVESTIGATE THAT!!!*
I am somewhat new to Linux and don't know all of the pieces that well,
especially selinux. Thank you. I didn't realize that it was separate.

Chuck
On Fri, 2009-08-28 at 14:32 +0100, Nick Kew wrote:
> Thorsten Scherler wrote:
> > Hi all,
> > 
> > I have a page that includes various parts via ssi.
> > e.g. <!--#include virtual="/head.shtml"-->
> > 
> > On our current version we "hack" the included pages to an invalid html
> > doc. Basically we strip it down to e.g. "<div> ...blah...</div>" However
> > this leaves documents that are not valid against xhtml dtd.
> > 
> > Is there a way to include a certain part of a page like e.g.
> > <!--#include virtual="/head.shtml" part="/html/head"-->
> > 
> > TIA for any information and suggestions.
> 
> mod_publisher, as a markup-aware parser, can help with that
> kind of thing, if you can map your requirements to SAX events.
> 
> Alternatively, if everything is XML and you want to use xpath,
> you might try mod_transform.
> 
> In either case, you'll have some work to figure it out.
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux