Easy question

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Here is a question that is probably very easy but that I don't know how to  
do [yet].

I have a web site www.aaa.net.  A directory structure has been created for  
me on the server as and it appears to me as /var/www/html.  That is where  
all my code is placed.

I want to have another site, www.aaa.org.  I want the directory structure  
for the html and php for this to be under the www.aaa.net directory tree in  
a subdirectory org  (/var/www/html/org).  That way I can basically point to  
the same code and it will simply be an alias when the sites go live.  Also,  
for now, they could behave differently with the public seeing www.aaa.org  
(which has limited stuff) and we can continue to develop on www.aaa.net.

How do I do this?


Re: Easy question

Kimmo Laine wrote:
Quoted text here. Click to load it

Unless next_page.php generates PHP, the script with this include will
only get HTML.

Quoted text here. Click to load it


    if (isset($_GET['foo'])) {
      echo '<?php echo $_GET[\'foo\']; ?>';
    } else {
      echo '<?php echo \'Not available\'; ?>';

File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

Site Timeline