List Info

Thread: Changing port/URL




Changing port/URL
user name
2006-06-03 02:07:47
I have Apache up and running fine with several virtual
hosts.

I have deployed the blogsom WAR file and am up and running
fine when I 
access it from the server, the exception being I have to
re-direct in the 
http.conf to get to the blog from the server, from a
different machine 
client I can't get there at all.

This is my http.conf entry,

<VirtualHost *:80>
   ServerAdmin xxxyahoo.com
   ServerAlias mydomain.com *.mydomain.com
   DocumentRoot /usr/opt/tomcat/webapps/ourcomm
   ServerName www.mydomain.com
   Redirect / http://
www.mydomain.com:8080/ourcomm/blog/sa/
</VirtualHost>

This is an entry in my err.log file,

[Fri Jun 02 21:24:07 2006] [error] [client 127.0.0.1]
Directory index 
forbidden by rule: /usr/opt/tomcat/webapps/ourcomm/

How can I set up blogsom so that I can access it from the
internet with 
www.mydomain.com ?  Where can I change the port from 8080? 
Should I change 
the DocumentRoot ?

(Tomcat 5.5 with Apache 2.0.44)
Jim




_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
Changing port/URL
user name
2006-06-05 20:59:02
Hmmmm, I'd have to go check the Apache documentation to see
if maybe one of
those directives is trumping the other.

You can change the port in Tomcat's
/$TOMCAT_HOME$/conf/server.xml. Look for
the Http connector element and you can change it to an
appropriate value. I
assume you want to keep Tomcat for just serving the web
application and
Apache for serving static content?


On 6/2/06 10:07 PM, "Jim Douglas" <jdz99hotmail.com> wrote:

> I have Apache up and running fine with several virtual
hosts.
> 
> I have deployed the blogsom WAR file and am up and
running fine when I
> access it from the server, the exception being I have
to re-direct in the
> http.conf to get to the blog from the server, from a
different machine
> client I can't get there at all.
> 
> This is my http.conf entry,
> 
> <VirtualHost *:80>
>    ServerAdmin xxxyahoo.com
>    ServerAlias mydomain.com *.mydomain.com
>    DocumentRoot /usr/opt/tomcat/webapps/ourcomm
>    ServerName www.mydomain.com
>    Redirect / http://
www.mydomain.com:8080/ourcomm/blog/sa/
> </VirtualHost>
> 
> This is an entry in my err.log file,
> 
> [Fri Jun 02 21:24:07 2006] [error] [client 127.0.0.1]
Directory index
> forbidden by rule: /usr/opt/tomcat/webapps/ourcomm/
> 
> How can I set up blogsom so that I can access it from
the internet with
> www.mydomain.com ?  Where can I change the port from
8080?  Should I change
> the DocumentRoot ?
> 
> (Tomcat 5.5 with Apache 2.0.44)
> Jim
> 
> 
> 
> 
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

-- 
David Czarnecki

http://www.blojsom.com/b
log/ | http://blojsom.sf.net




_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )