Bertrand CHERRIER
Thu, 23 Aug 2001 14:31:40 -0700
Bonjour Trevor Ouellette,
This is the kind of template I use when I don't want a directory
(ibay) to be used ... exemple is for phpSysinfo (I'll be building a
RPM soon :)
#-------------------------------------------
# PHP SYSINFO
#-------------------------------------------
Alias /sysinfo /usr/local/phpSysinfo/
<Directory /usr/local/phpSysinfo>
AddType application/x-httpd-php .php .php3 .phtml
AddType application/x-httpd-php-source .phps
Options Indexes
Options +Includes
AllowOverride None
order deny,allow
deny from all
allow from 127.0.0.1 10.0.0.0/255.255.255.0
</Directory>
#------------------------------------------
The file itself is located here :
/etc/e-smith/template-custom/etc/httpd/conf/httpd.conf/93phpSysinfo
I stock my web files in usr/local (this came from netsaints rpm :)
after this you just have to expand template and that's it !
It's much safer than modifying directly the httpd.conf as e-smith
restores it after an improper shut down and wipe out all the
modifications, but by using the templates the pb doesn't occur.
vendredi 24 août 2001, 07:45:58, vous avez écrit:
TO> Darrell, have you used directory alias's yourself? Is it as simple at
TO> inserting a few templates into the httpd.conf directory (custom-templates of
TO> course)?
TO> Trev.
TO> -----Original Message-----
TO> From: Darrell May [mailto:[EMAIL PROTECTED]]
TO> Sent: Thursday, August 23, 2001 2:39 PM
TO> To: Trevor Ouellette; [EMAIL PROTECTED]; Allen Rapini; E-Smith
TO> Developers Info Mailing List
TO> Subject: RE: [e-smith-devinfo] SquidGuard 2 Development
TO> Trevor Ouellette <[EMAIL PROTECTED]> said:
>> But you can still reach it by doing a \\servername\ibay right? It just
>> becomes like the netlogon directory. Plus, netatalk is still running.
TO> Correct. Again, if these ibays in question are not used for file
TO> sharing, then again it is better not to use ibays. Use a directory alias
TO> in httpd.conf.
TO> --
TO> Darrell May
TO> DMC NETSOURCED.COM
TO> http://netsourced.com
--
Cordialement,
Bertrand
[EMAIL PROTECTED]
http://www.linux-nc.org
Linux, il y a moins bien, mais c'est plus cher !
--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org