How to execute a script in web root [b] from web root [a]

Discussion in 'Server Operation' started by Deficit, Jun 19, 2009.

  1. Deficit

    Deficit New Member

    Hello,
    I have two vhosts in Apache (perfect setup debian lenny).

    1. www.example.com
    2. foo.example.com

    They both have their individual web roots.

    1. Has this web root

    /var/www/clients/client1/web4/web/

    2. The other has

    /var/www/clients/client1/web7/web/

    ------

    Ok, so now what I need to do is to execute a script that is in the root of web7 from a script that runs in the root of web4.

    How may I go about this?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What kind of script? A shell script, a PHP script, a Perl script, etc.?
     
  3. Deficit

    Deficit New Member

    falko, it is a php script.

    The reason is that I can't seem to get subdomains working using ISPConfig 3 so I created a new website for the forum.

    So the URL to the main site is www.example.com and the forum has forum.example.com
     
  4. falko

    falko Super Moderator ISPConfig Developer

Share This Page