Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
I installed Gitalist via cpanm against my Perlbrew Perl 5.14.1. I would like to run Gitalist so it appears as a sub-directory of my main web site, that is, at, however, none of the instructions in the module documentation seem to address this scenario.

Bumbling around, I can run it on either via the bundled PSGI web server or via plackup, but then I can't access that web site from anything other than the localhost. On the other hand, I can use Apache's mod_proxy to access, and let apache proxy everything /gitalist to However, then the internal links in Gitalist are all broken. Gitalist generates the links for its images and css based on, so they are all broken from

I am unable to set up a VirtualHost on this web server. Suggestions?

Update: I did a terrible job explaining my problem above. So, here is another attempt, hopefully, clearer.

I have no problem running the Gitalist app. It works fine if I invoke it as a standalone server like so.

$ GITALIST_CONFIG=/path/to/gitalist.conf

Now I view the web site at I can do a similar thing with plackup, and even specify a different port. All is good. However, I want to access the site at So, I set up an apache config file for the gitalist website like so

ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /gitalist ProxyPassReverse /gitalist

Then I started the built-in gitalist server like above

$ GITALIST_CONFIG=/path/to/gitalist.conf

Now I can go to and the gitalist web site appears, except, all the internal links still point to As a result, none of the CSS or the images appear correctly. All these links should be pointing to So, should be I don't see any Gitalist config option that allows me to change these links. And, this can't be solved with mod_rewrite.

I hope my issue is clearer now.

when small people start casting long shadows, it is time to go to bed

In reply to running Gitalist as a sub-directory of my main web site by punkish

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others romping around the Monastery: (3)
    As of 2018-04-21 23:20 GMT
    Find Nodes?
      Voting Booth?