TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 01-17-2008, 05:16 PM   #21 (permalink)
The Wanderer
 
SystemBomber's Avatar
 
Join Date: Oct 2007
Location: Essex, United Kingdom
Posts: 6
Thanks: 0
SystemBomber is on a distinguished road
Default

Maybe, I havn't tried it personally, you might have to install it twice and edit the configurations.
__________________
SystemBomber is offline  
Reply With Quote
Old 01-17-2008, 05:26 PM   #22 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

Spot on there, Nor. However, that is in theory. If the application supports more than one instance of it then it is doable if you can modify the port on-the-fly. However, if each instance shares the same configuration file and update on-the-fly then you're going to inevitably run into problems with that set-up.

For this to work without any problems, the application should really claim to be able to run multiple instances, and any attempt at circumventing the aforementioned and making it work, would be pure luck - plain and simple. For it to work when it's not supposed to, the configuration files will have to be edited before each execution of the instance - and with a little luck in that the first instance doesn't recognise the modification to the configuration file.

After saying all that, I'm sure something as big as XAMPP would allow multiple instances and also allow you to bind those instances to different ports. First stop - the XAMPP website!
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 01-17-2008, 11:32 PM   #23 (permalink)
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

well just open multiple instances of apache each listening on a different port, it will work if you create its own seperate dir with its own config etc not sure if there is any other way (in other words have multiple apache webservers running), i still think that using one apache and using a virtual host is better i.e.:

Code:
Listen 80
NameVirtualHost 127.0.0.1

<VirtualHost 127.0.0.1>
   ServerName localhost
   DocumentRoot /var/www
</VirtualHost>

<VirtualHost 127.0.0.1>
   ServerName newsite.com
   DocumentRoot /var/www/newsite
</VirtualHost>
create the 'newsite' dir in the root
then in your hosts file:
Code:
127.0.0.1       newsite.com
note those virtual hosts path to document root will need to be changed accordingly.
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 03:36 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design