Sign in

config for virtual host?

  • This topic has 3 replies, 2 voices, and was last updated 2 years, 10 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5018
    Avatar photohenq

    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 photohenq

    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 photohenq
    henq 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 photoTomasz Dziuda

    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.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.