Koozali.org: home of the SME Server

Server side includes

Quade

Server side includes
« on: September 17, 1999, 10:49:26 AM »
Does e-smith support server side includes?  I haven't seen it mentioned anywhere in the documentation, but that doesn't necessarily mean anything either way.  If it doesn't, please consider it as a new feature for 3.1.

If it does, what is the proper syntax?  

TIA,
Quade

Kim Morrison

RE: Server side includes
« Reply #1 on: September 17, 1999, 06:39:44 PM »
Hi Quade,

Thanks for the post!  Yes, we can handle server side includes.  

Please visit www.apache.org for syntax, etc.  

Thanks!

Kim

Quade

RE: Server side includes
« Reply #2 on: September 18, 1999, 11:19:16 AM »
doh!

bad geek.  bad...

i guess i should have taken a closer peek at the guts before i asked about this, and i would have seen that it was apache at the heart of it all.  but in my own defense, i was having trouble loging in on the server and thru telnet.

btw, thanks for the quick responses kim.  you've answered every wuestion so far...

but here's one more(well, maybe 2):
1. how "full" is this copy of apache?  apache is, by far, the absolute best web server ever, and if e-smith has all the capabilities of apache, and i can edit the httpd.conf file like it was standard apache, i will have no need for any other linux server product.  ever!  :)  
2. if this is a fully functioning version of apache (which it looks to be) what's the hold-up on virtual hosting?  is that at the e-smith level?

TIA,
quade

Kim Morrison

RE: Server side includes
« Reply #3 on: September 18, 1999, 06:59:28 PM »
Hi Quade,

Well, you are going to be happy.  This is a full version of apache, Quade.

If you are willing to edit the config files manually there is no reason you can't set up virtual hosting. My hedging on the subject of virtual hosting had to do with not being able to set it up using the console/web-based interface.

The apache config files are under template control, so you must edit the templates not the original files.  The templates are located in the sub directory /etc/e-smith/templates where you'll find template versions of all the config files.  Once you've modified the templates as you like, you can generate the real config files from the templates by executing the following command:

/sbin/e-smith/signal-event manager-misc

This makes the e-smith system think that someone changed something with the web-based manager and to update the files accordingly.  

Have fun!

Kim