
Originally Posted by
Mr.Bill
Will try to give a basic explanation
In you root folder of the server ( where you would see all the folders for the individual sites) create a folder called common or whatever you like
upload you proxy script to the common folder.
Now you need to use a program like putty
login into your server using putty
for the ease of of this expaination I will use
example1 = example1.com
example2 = example2.com
once logged into your server using putty cd to the folder you want the symlinks ( the public_html you would have put the script normally)
cd /home/example1/public_html
just put your folder name in place of the example1
now I dont know what files and folders you have in your certain script but you would use some thing like this in putty
ln -s /home/common/index.php index.php
ln -s /home/common/player player
ln -s /home/common/themes themes
ln -s /home/common/config config
ln -s /home/common/cache cache
replace the common with whatever name you made the folder in the beginning of this. Now my application uses a index.php/player folder/themes folder/config folder/cache folder
after you run those lines you will see what look like folders in the folder you cd to now if you type in your web browser your site should load like normal.
then to do another domain you will need to cd to that folder with putty
cd /home/example2/public_html
and then run the same lines again
ln -s /home/common/index.php index.php
ln -s /home/common/player player
ln -s /home/common/themes themes
ln -s /home/common/config config
ln -s /home/common/cache cache
repeat tell you have done all your sites. Now they all use one script.
If this isnt clear enough let me know I can try to explain it better
Bookmarks