Koozali.org: home of the SME Server

Changing the web content path

ben

Changing the web content path
« on: September 28, 2002, 07:44:56 PM »
Is there any way to change the default website path from:
/home/e-smith/files/primary/html

to the generic
/var/www/html

I have some school portal software (in RPM format) that installs there by default and I want to try it out.

Thanks in advance

ben

Re: Changing the web content path
« Reply #1 on: September 28, 2002, 07:49:25 PM »
If I can't change that path, could someone give me a hint on how to install AUC (auc.sourceforge.net) on e-smith 5.5?

Thanks again

henri

Re: Changing the web content path
« Reply #2 on: September 29, 2002, 09:36:49 AM »
Try  to follow this step: STEP 3: Make the application available from
   https://www.yourdomain.com/school
   
   -         You don't want to create an iBay that will expose all the
   files, but instead a http alias to the /school/apps directory
   
   -         Create a template fragment for httpd.conf
   
   -         Enter as root on the console: touch
   /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/99school
   
   -         This will create the template fragment, now edit this
   fragment and make it look like below;
   
   
   ------start, don't include this line
   #-------------------------------------------
   
   # app
   
   #-------------------------------------------
   
   
   Alias /school/apps
   
   
      
       RequireSSL on
   
       AddType application/x-httpd-php .php .php3 .phtml
   
       Options Indexes +Includes FollowSymLinks
   
       order deny,allow
   
       deny from all
   
       allow from all
   
   

   ------End, don't include this line
   
   
   -         This will make the the application accessable from
   [3]https://yourdomain.com/school
   
   -         You can change it to your needs if you don't want to use the
   name school'
   
   -         Https access is turned on automatically
   
   -         Save the file and expand it with:
   /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
   
   -         Restart the webserver: service httpd restart

Andrew Dickinson

Re: Changing the web content path
« Reply #3 on: November 25, 2002, 01:19:53 PM »
How did you go with AUC? I am working on an E-Smith/AUC how-to. I have it working one way, and I was wondering how you went.