[nSLUG] Apache & Absolute paths

Troy D. Strum ts at halifaxfilm.com
Mon Feb 14 14:49:58 AST 2005

I haven't used them in years, but...

In httpd.conf, these lines are likely commented out, so uncomment them:

AddType text/html .shtml
AddHandler server-parsed .shtml

Make sure that your httpd.conf file has the "Includes" option turned on 
for the web root:

<directory /your/web/root/>
Options Includes
(The above example is abbreviated - look for a similar block in your 
httpd.conf file).

Run this:

/usr/sbin/apache-modconf apache enable mod_include

Restart apache and make a .shtml file to test it out.

- Troy

J. Paul Bissonnette wrote:

> I have been trying to set-up an Apache server, Debian based Installation,
> for my website testing. I've run into a snag.
> How do I set-up *my* server to accept absolute paths?
> eg
> <!--#include virtual="/inc/meta-de.inc" -->
> or
> /pics/common/floatplanes.jpg
> My web host allows these.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ts.vcf
Type: text/x-vcard
Size: 353 bytes
Desc: not available
URL: <http://nslug.ns.ca/mailman/private/nslug/attachments/20050214/4ac10c86/attachment.vcf>

More information about the nSLUG mailing list