RE: VirtualHost Ignored For New URL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I figured out how to do it:
 
NameVirtualHost server1.development:443
<VirtualHost server1.development:443>
Keyfile /opt/IBMIHS/ssl/mykeyfile.kdb
SSLEnable
SSLClientAuth 0
ServerName server1
Alias   /wcsstore               "/opt/WebSphere/AppServer/installedApps/stdwcs1/WC_wcsdev.ear/Stores.war"
Alias   /wcs                    "/opt/WebSphere/AppServer/installedApps/stdwcs1/WC_wcsdev.ear/CommerceAccelerator.war"
</VirtualHost>
 
<VirtualHost server1:443>
Keyfile /opt/IBMIHS/ssl/mykeyfile.kdb
SSLEnable
SSLClientAuth 0
ServerName server1
Alias   /wcsstore               "/opt/WebSphere/AppServer/installedApps/stdwcs1/WC_wcsdev.ear/Stores.war"
Alias   /wcs                    "/opt/WebSphere/AppServer/installedApps/stdwcs1/WC_wcsdev.ear/CommerceAccelerator.war"
</VirtualHost>

Thanks,
Jim
 
 

> Date: Thu, 13 Dec 2007 11:08:43 -0500
> From: covener@xxxxxxxxx
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re: VirtualHost Ignored For New URL
>
> On Dec 13, 2007 10:59 AM, James Ellis <ellisje22@xxxxxxxxxxx> wrote:
> > 1) How can I "debug" this VirtualHost...I mean how can I log whenever this
> > VirtualHost is entered. I am looking for an equivalent to the Java
> > System.out.println("Inside VirtualHost"); that you can do to debug Java
> > code.
>
> Add %v to your LogFormat, or choose a separate Accesslog for this vhost.
>
> >
> > 2) Any suggestions for how to be enaable this to accept traffic from this
> > URL? Right now requests to that URL show up in the apache access log as 404
> > and I get a message in the apache error logs saying:
> > [Thu Dec 13 10:45:12 2007] [error] [client xxx.xxx.xxx.xxx] File does not
> > exist: /opt/IBMIHS/htdocs/en_US/webapp
> >
>
> Your using a different hostname, does it resolve to the same IP
> address? If it doesn't, but you don't have other vhosts listening on
> port 443, change your VirtualHost to specify *:443.
>
>
> --
> Eric Covener
> covener@xxxxxxxxx
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux