Links are wrong after installation

Hello,

After installing 1.0.1 all the links omit the webserver domain.

Namely instead of:
http://mydomain.com/zenphoto/zen/admin.php
http://mydomain.com/zenphoto/album/picnic/

it is:
http://zen/admin.php
http://picnic/

I tried setting the absolute path for the RewriteBase then I tried setting relative to the root directory. No difference. Where do we set the webserver URL. Somehow it is being discarded.

Thanks...

Comments

  • Thank you Chilifrei64. The solution suggested by biffta works great for.. Which I added for reference below:

    Keep the config.php file standard then edit the zen/functions.php file as follows

    ----------------------------------------
    `<?php<br />
    // functions.php - HEADERS NOT SENT YET!

    require_once("config.php");

    /*comment out this bit

    if (strstr(basename(dirname($_SERVER['SCRIPT_NAME'])), "zen")) {

    define('WEBPATH', dirname(dirname($_SERVER['SCRIPT_NAME'])));

    } else {

    define('WEBPATH', dirname($_SERVER['SCRIPT_NAME']));

    }

    */

    define('WEBPATH', '/zp');//or whatever dir you installed to`

    ----------------------------------------

Sign In or Register to comment.