Koozali.org: home of the SME Server

Virtual Hosting

Clayton Bench

Virtual Hosting
« on: February 27, 2003, 09:45:40 PM »
I am trying to get XML-RPC to work and i think i need to get this configuration for it to work, what i am asking is how to make it work with sme:


   
        Options FollowSymLinks
        AllowOverride None
   

 
   RewriteEngine On
   RewriteRule ^/stats/store/(.*).gif$  /home/e-smith/files/primary/html/ezstats/user/storestats.php [S=4]
   RewriteRule ^/filemanager/filedownload/([^/]+)/(.*)$  /home/e-smith/files/primary/html/ezfilemanager/files/$1 [T="application/oct-stream",S=3]
   RewriteRule .*/ezmediacatalogue/catalogue/(.*)$  /home/e-smith/files/primary/html/ezmediacatalogue/catalogue/$1 [T="application/oct-stream",S=2]
   RewriteRule ^/xmlrpc.*$  /home/e-smith/files/primary/html/index_xmlrpc.php [S=1]
   RewriteRule !\.(gif|css|jpg|png|jar)$ /home/e-smith/files/primary/html/index.php
 
   ErrorLog logs/error-applejax.net
   CustomLog logs/totals-applejax.net combined

   ServerAdmin
   DocumentRoot /home/e-smith/files/primary/html
   ServerName applejax.net

 

   
        Options FollowSymLinks
        AllowOverride None
   

 
   RewriteEngine On
   RewriteRule .*/ezmediacatalogue/catalogue/(.*)$  /home/e-smith/files/primary/html/ezmediacatalogue/catalogue/$1 [T="application/oct-stream",S=1]
   RewriteRule     !\.(gif|css|jpg|png|jar) /home/e-smith/files/primary/html/index_admin.php

   ServerAdmin
   DocumentRoot /home/e-smith/files/primary/html
   ServerName admin.applejax.net


i mainly just need to add the RewriteRule ^/xmlrpc.*$  /home/e-smith/files/primary/html/index_xmlrpc.php [S=1]

Joachim Koenen

Re: Virtual Hosting
« Reply #1 on: March 13, 2003, 12:50:46 AM »
Does the above work? Which error message does it produce?
Thanks
Jo