<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2712.300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Comic Sans MS" size=2>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>Before i make what will be a significant alteration to my Apache 
configuration file (httpd.conf) as detailed below, does anybody have any 
comments or advice!?&nbsp;&nbsp;&nbsp;&nbsp;Proposed alterations are indented. 
</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3></FONT><FONT face="Times New Roman" size=3></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>I want to create cgi-bins&nbsp;in my user account html directories for 
perl and cgi scripts.&nbsp; Each user account is actually a diferent project and 
i want to keep the scripts for each project in its own cgi-bin.&nbsp;&nbsp; Each 
users home directory currently has a symlink for&nbsp;redirection to there html 
directory,&nbsp;these html directories&nbsp;are set as Default root in the 
(proftpd.conf) configuration file.</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>I want to&nbsp;change things&nbsp;for various reasons but mainly to keep 
projects together in there own directories, each complete with there own 
scripts. All projects&nbsp;will then be&nbsp;inside&nbsp;the directory (ftp) to 
allow tarred, compressed backups in one command line&nbsp;for all projects and 
there subdirectories and&nbsp;files.</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>######################################</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># Aliases: Add here as many aliases as you need (with no limit). The 
format is </FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># Alias fakename realname</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman">&nbsp;<?xml:namespace prefix = o ns = 
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>&lt;IfModule mod_alias.c&gt;</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="COLOR: red"><FONT 
size=3><FONT face="Times New Roman">Alias /user1/ 
"/usr/local/ftp/user1/"</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="COLOR: red"></SPAN><SPAN style="COLOR: red"><FONT size=3><FONT 
face="Times New Roman">Alias /user2/ 
"/usr/local/ftp/user2/"</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="COLOR: red"></SPAN><SPAN style="COLOR: red"><FONT size=3><FONT 
face="Times New Roman"></FONT></FONT></SPAN>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="COLOR: red"><FONT 
size=3><FONT face="Times New Roman">&lt;Directory 
"/usr/local/ftp/user*"&gt;</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="COLOR: red"></SPAN><SPAN style="COLOR: red"><FONT size=3><FONT 
face="Times New Roman">Authuserfile /etc/httpd/passwd</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="COLOR: red"></SPAN><SPAN style="COLOR: red"><FONT size=3><FONT 
face="Times New Roman">AuthGroupfile /etc/httpd/group</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="COLOR: red"></SPAN>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="COLOR: red"></SPAN><FONT face="Times New Roman"><FONT size=3><FONT 
color=#ff0000><SPAN>Options -FollowSymLinks +Includes -</SPAN><SPAN 
style="COLOR: red">Multiviews +ExecCGI</SPAN></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT 
face="Times New Roman"><SPAN style="COLOR: red"></SPAN></FONT><FONT size=3><FONT 
face="Times New Roman"><FONT color=#ff0000><SPAN>AllowOverride 
None</SPAN></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman"><FONT 
color=#ff0000><SPAN></SPAN></FONT></FONT></FONT><SPAN style="COLOR: red"><FONT 
size=3><FONT face="Times New Roman">Order allow,deny</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="COLOR: red"></SPAN><SPAN style="COLOR: red"><FONT size=3><FONT 
face="Times New Roman">Allow from All</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="COLOR: red"></SPAN>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="COLOR: red"></SPAN><SPAN style="COLOR: red"><FONT size=3><FONT 
face="Times New Roman">&lt;/Directory&gt;<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># Note that if you include a trailing / on fakename then the server 
will</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># require it to be present in the URL.<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>So "/icons" isn't aliased in 
this</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># example, only "/icons/".<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>If the fakename is slash-terminated, then the </FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># realname must also be slash terminated, and if the fakename omits the 
</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># trailing slash, the realname must also omit it.</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>Alias /icons/ "/usr/local/httpd/icons/"</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>&lt;Directory "/usr/local/httpd/icons"&gt;</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>Options Indexes MultiViews</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>AllowOverride None</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>Order allow,deny</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>Allow from all</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>&lt;/Directory&gt;</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># ScriptAlias: This controls which directories contain server 
scripts.</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># ScriptAliases are essentially the same as Aliases, except 
that</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># documents in the realname directory are treated as applications 
and</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># run by the server when requested rather than as documents sent to the 
client.</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># The same rules about trailing "/" apply to ScriptAlias directives as 
to</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># Alias.</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>ScriptAlias /cgi-bin/ "/usr/local/httpd/cgi-bin/"</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt"><SPAN 
style="COLOR: red"><FONT size=3><FONT face="Times New Roman">ScriptAlias 
/user1/cgi-bin/ 
"/usr/local/ftp/user1/cgi-bin/"<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt"><SPAN 
style="COLOR: red"><FONT size=3><FONT face="Times New Roman">ScriptAlias 
/user2/cgi-bin/ 
"/usr/local/ftp/user2/cgi-bin/"<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="COLOR: red"><FONT 
size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>&lt;IfModule mod_perl.c&gt;</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># Provide two aliases to the same cgi-bin directory, </FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># to see the effects of the 2 different mod_perl modes.</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># for Apache::Registry Mode</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>ScriptAlias /perl/<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN>"/usr/local/httpd/cgi-bin/"</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># for Apache::Perlrun Mode</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>ScriptAlias /cgi-perl/<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN>"/usr/local/httpd/cgi-bin/"</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>&lt;/IfModule&gt;</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># "/usr/local/httpd/cgi-bin" should be changed to whatever your 
ScriptAliased</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># CGI directory exists, if you have that configured.</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>&lt;Directory "/usr/local/httpd/cgi-bin"&gt;</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>AllowOverride None</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>Options None</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>Order allow,deny</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>Allow from all</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>&lt;/Directory&gt;</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt"><SPAN 
style="COLOR: red"><FONT size=3><FONT face="Times New Roman">&lt;Directory 
"/usr/local/ftp/user*/cgi-bin"&gt;<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt"><SPAN 
style="COLOR: red"><FONT size=3><FONT face="Times New Roman">AllowOverride 
None<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt"><SPAN 
style="COLOR: red"><FONT size=3><FONT face="Times New Roman">Options 
None<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt"><SPAN 
style="COLOR: red"><FONT size=3><FONT face="Times New Roman">Order 
allow,deny<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt"><SPAN 
style="COLOR: red"><FONT size=3><FONT face="Times New Roman">Allow from 
all<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt"><SPAN 
style="COLOR: red"><FONT size=3><FONT 
face="Times New Roman">&lt;/Directory&gt;<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>&lt;/IfModule&gt;</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># End of aliases.</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3># set /cgi-bin for CGI execution</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>&lt;Location /cgi-bin&gt;</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>AllowOverride None</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>Options +ExecCGI +Includes</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>SetHandler cgi-script</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>&lt;/Location&gt;</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt"><SPAN 
style="COLOR: red"><FONT size=3><FONT face="Times New Roman">&lt;Location 
/user*/cgi-bin&gt;<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt"><SPAN 
style="COLOR: red"><FONT size=3><FONT face="Times New Roman">AllowOverride 
None<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt"><SPAN 
style="COLOR: red"><FONT size=3><FONT face="Times New Roman">Options +ExecCGI 
+Includes<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt"><SPAN 
style="COLOR: red"><FONT size=3><FONT face="Times New Roman">SetHandler 
cgi-script<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt"><SPAN 
style="COLOR: red"><FONT face="Times New Roman" 
size=3>&lt;/Location&gt;</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 72pt"><SPAN 
style="COLOR: red"><FONT face="Times New Roman" 
size=3></FONT></SPAN>&nbsp;</P><SPAN style="COLOR: red"><FONT 
face="Times New Roman" size=3><FONT color=#000000>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3>######################################</FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3><FONT color=#000000></FONT></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3><FONT color=#000000>At the mo all scripts are in the servers default 
cgi-bin and a typical link for user1 currently&nbsp;reads</FONT> <FONT 
color=#ff0000>&lt;!--#exec cgi = "/cgi-bin/counter.pl"--&gt;&nbsp;</FONT><FONT 
color=#000000>when i change things&nbsp;should the link be changed to 
read&nbsp;</FONT><FONT color=#ff0000>&lt;!--#exec cgi = 
"/user1/cgi-bin/counter.pl"--&gt;</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
size=3></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" 
color=#000000 size=3>Mark</FONT></P></SPAN>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P></FONT></DIV></BODY></HTML>