Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

config for virtual host?

  • #5018
    Avatar photo[anonymous]

    Hello

    My multiple sites live on one Ubuntu box with Apache2 with virtual domains enabled. Basically
    http://www.mydomain.de –>   /var/www/html/mydomain_de/

    I set Publii to upload to /var/www/html/mydomain_de/ , but now all the links get this subdir pre-pendend, like
    the link to http://www.mydomain.de/page42.html
    becomes
    http://www.mydomain.de/mydomain_de/page42.html
    which is not working.

    I tried variations under Site Settings and Tools, but cannot get it straight.
    Kind regards
    Henk

    #5019
    Avatar photo[anonymous]

    I managed to get it working. I entered / at ‘domain’ (empty seems to work too) AND set relative URL’s.
    Now i get

    http://www.mydomain.de//page42.html     # note dubble slash

    Bit ugly, but its functional.

    #5021
    Avatar photo[anonymous]
    [anonymous] wrote:

    I managed to get it working. I entered / at ‘domain’ (empty seems to work too) AND set relative URL’s.

    Now i get

    http://www.mydomain.de//page42.html # note dubble slash

    Bit ugly, but its functional.

    No, I was too early with claiming success. Now with each click I get an extra / , ending up like
    http://www.mydomain.de/////page42.html

    #5040
    Avatar photo[anonymous]

    Hi,

    That’s weird – the path option should not affect a links generated in Publii – it is used only through the deployment process to specify a proper location on the destination server.