Subject: | Documentation change about non standard ports |
Hello,
I spent a bit of time being confused about why I was not getting my
non-standard port added to the urls created by uri_for etc.
It turned out that I had set up my port using just 'Listen', but
actually needed to user 'Port' in my Apache config.
Attached is a POD patch that should make it easier for the next person.
Cheers,
Edmund
Subject: | Apache.pm.diff |
--- Apache_orig.pm 2008-06-17 17:51:59.000000000 +0100
+++ Apache.pm 2008-06-18 09:07:22.000000000 +0100
@@ -300,6 +300,14 @@
by adding this to your configuration:
PerlSetVar CatalystDisableLocationMatch 1
+
+=head2 NOTES ON NON-STANDARD PORTS
+
+If you wish to run your site on a non-standard port you will need to use the
+C<Port> Apache config rather than C<Listen>. This will result in the correct
+port being added to urls created using C<uri_for>.
+
+ Port 8080
=head1 OVERLOADED METHODS