Ruby on Rails
Tuesday, May 31, 2011
On 31 May 2011, at 10:49, loganathan sellappa wrote:
<VirtualHost 127.0.0.1:8081>
#ServerAdmin webmaster@myapp.com
ServerName m-lo-lo.com
DocumentRoot "/root/var/www/rails/public/"
vi port.conf
Listen 8081
hit my browser with
http://m-lo-lo.com
didnt have anything .
Well, it seems like you're listening only on port 8081 and when you don't attach a port number to your URL, every browser assumes port 80.
http://m-lo-lo.com:8081/ will probably do the trick.
If you want it to work without the port at the end of the URL, you'll need to make Apache listen on port 80 instead.
Best regards
Peter De Berdt
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment