By cliffspencer on
I've figured out that my ISP (Verizon) blocks port 80. While I have no problem moving Apache to an alternate port, how do I tell Drupal to include this in its URLs? Also, why is the formatting of the start page so inferior when I do move to another port? I lose all the detail of the theme.
Thanks,
-cliff
Comments
Try $base_url =
Try
$base_url = "http://localhost:9999";
--
If you have troubles with a particular contrib project, please consider to file a support request. Thanks.
--
Drupal services
My Drupal services
OK for LAN, but not WAN accessible
Hi -
I'm doing something similar, forwarding port 8081 to the machine running drupal on my LAN. Port 80 conflicts with another machine.
Telling Apache to listen on 8081 and appending 8081 in my drupal conf.php file
$base_url = "http://localhost:8081";
lets me access my drupal site on my LAN, but browsers outside the LAN get a reply from "http://localhost:8081", which they can't resolve.
Specifying my WAN IP address
$base_url = "http://MyStaticIP:8081";
makes drupal NOT work from either LAN or WAN.
Suggestions?
Thanks,
Allen
Apache?
Does Apache listen on mystaticip:8081? This is not really Drupal related as it runs on your internal IP.
--
Drupal development: making the world better, one patch at a time. | A bedroom without a teddy is like a face without a smile.
Didn't specify IP
Maybe I don't understand the Listen directive, but I followed the example in httpd.conf and directed Apache to listen to the port 8081, but no specific IP:
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the
# directive.
#
Listen 8081
Incoming requests directed to MyStaticIp:8081 do reach apache - another site it's hosting works just fine. Only drupal is not working from outside my LAN.
In case it's helpful, this issue question is posted in a little more detail at its own forum node:
http://drupal.org/node/19574
Thanks,
Allen