Changes

From SME Server
Jump to navigationJump to search
1,194 bytes added ,  14:18, 12 April 2007
no edit summary
Line 57: Line 57:     
Russell
 
Russell
 +
 +
=======================
 +
 +
If you want to modify the original templates, you must copy to the templates-custom dir:
 +
 +
cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/50DirectoryIndex00 /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
 +
 +
then make the necesary changes there:
 +
 +
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
 +
pico 50DirectoryIndex00
 +
 +
To run under /opt dir I think this can run:
 +
 +
#Metadot
 +
 +
Alias /metadot /opt/metadot
 +
Alias /images/ /opt/metadot/html/images/
 +
Alias /js/ /opt/metadot/html/js/
 +
Alias /index.pl /opt/metadot/html/metadot/index.pl
 +
Alias /public/ /opt/metadot/html/sitedata/public/
 +
Alias /skins/ /opt/metadot/html/sitedata/skins/
 +
Alias /htmlarea3/ /opt/metadot/html/js/htmlarea3/
 +
Alias /private/ /opt/metadot/html/sitedata/private/
 +
Alias /userchannel.pl /opt/metadot/html/metadot/userchannel.pl
 +
 +
<Directory "/opt/metadot">
 +
Options +Indexes +Includes +FollowSymLinks -MultiViews
 +
  AllowOverride All
 +
SetHandler cgi-script
 +
PerlHandler speedy::Registry
 +
PerlSendHeader On
 +
Options +ExecCGI
 +
AddType application/.html .pl .pm .cgi
 +
DirectoryIndex index.pl
 +
</Directory>
 +
 +
--[[User:PicsOne|PicsOne]] 09:18, 12 April 2007 (EDT)
985

edits

Navigation menu