RE: Re[2]: [e-smith-devinfo] SquidGuard 2 Development

2001-08-23 Thread Trevor Ouellette

Bertrand,

That's pretty straight-forward.  Thanks for the template and I'll let you
know how I make out!

Trev.

-Original Message-
From: Bertrand CHERRIER [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 3:57 PM
To: E-Smith Developers Info Mailing List
Subject: Re[2]: [e-smith-devinfo] SquidGuard 2 Development


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



--
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




Re[2]: [e-smith-devinfo] SquidGuard 2 Development

2001-08-23 Thread Charlie Brady


On Fri, 24 Aug 2001, Bertrand CHERRIER wrote:

 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 :)

Have you looked at my contrib, e-smith-phpsysinfo? Not that I would mind
you doing another version, but it might save you a little work to start
with mine.

It hasn't been updated in a while, so it's not the latest version.

-- 

Charlie Brady [EMAIL PROTECTED]
Lead Product Developer
Network Server Solutions Grouphttp://www.e-smith.com/
Mitel Networks Corporationhttp://www.mitel.com/
Phone: +1 (613) 368 4376 or 564 8000  Fax: +1 (613) 564 7739



--
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




Re[2]: [e-smith-devinfo] SquidGuard 2 Development

2001-08-23 Thread Charlie Brady


On Fri, 24 Aug 2001, Bertrand CHERRIER wrote:

 Directory /usr/local/phpSysinfo
 AddType application/x-httpd-php .php .php3 .phtml
 AddType application/x-httpd-php-source .phps

I doubt that you want to have your source code viewable, in case there are
security holes, or secret passwords, or whatever, in the code.

 Options Indexes

You almost certainly don't want indexes.

 Options +Includes

And you probably don't want/need includes.

 AllowOverride None
 order deny,allow
 deny from all
 allow from 127.0.0.1 10.0.0.0/255.255.255.0
 /Directory

-- 

Charlie Brady [EMAIL PROTECTED]
Lead Product Developer
Network Server Solutions Grouphttp://www.e-smith.com/
Mitel Networks Corporationhttp://www.mitel.com/
Phone: +1 (613) 368 4376 or 564 8000  Fax: +1 (613) 564 7739



--
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




RE: Re[2]: [e-smith-devinfo] SquidGuard 2 Development

2001-08-23 Thread Charlie Brady


On Thu, 23 Aug 2001, Trevor Ouellette wrote:

 Any suggestions how to fix or make them more secure, Charlie?

Delete these lines:

  AddType application/x-httpd-php-source .phps
  Options Indexes
  Options +Includes

Please correct me if I'm wrong, anyone. I'm not an Apache config guru, I
just get by.

-- 

Charlie Brady [EMAIL PROTECTED]
Lead Product Developer
Network Server Solutions Grouphttp://www.e-smith.com/
Mitel Networks Corporationhttp://www.mitel.com/
Phone: +1 (613) 368 4376 or 564 8000  Fax: +1 (613) 564 7739



--
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