Hi,

There was an Article on Apples Site, there is an BUG in Lion Server for 
VirtualHosting.

Create a File : 「/etc/apache2/sites/temporaryfix.conf」

and add two lines below. That's it.

NameVirtualHost  *:80
NameVirtualHost  *:443

        Also on my mac-minis it worked without the comment out of ScriptAlias 
/cgi-bin.

        Like the script that I made. I use it now on 6 installation, and work 
in minutes.


On 2011/09/02, at 20:36, Pascal Robert wrote:

> Find the line in httpd.conf that start with:
> 
>  ScriptAlias /cgi-bin
> 
> And comment it.
> 
>> Hi all,
>> 
>> Trying to get WebObjects running on a Mac mini sever with Mac OS X 10.7 
>> (Lion), but the VirtualHost configuration is bothering me.
>> None of my directives are working, have put  copy of apache.conf into the 
>> others config folder with name webobjects.conf. The Adaptor is loaded, 
>> checked with apachectl -M, and apachectl -t, says Syntax OK, but the 
>> following directives, in the beginning of webobjects.conf file are not 
>> working:
>> 
>> Alias /WebObjects "/Library/WebServer/Documents/WebObjects"
>> 
>> <Directory "/Library/WebServer/Documents/WebObjects">
>>     AllowOverride All
>>     Order allow,deny
>>     Allow from all
>> </Directory>
>> 
>> <LocationMatch /cgi-bin/WebObjects/.*>
>>   Order allow,deny
>>   Allow from all
>> </LocationMatch>
>> 
>> Trying to load the WOAdaptorInfo page, I'm getting the following error 
>> (error_log):
>> 
>> File does not exist: /Library/Server/Web/Data/Sites/Default/cgi-bin
> 
> 
> 
>> I know, that this is a VirtualHost:*:443 directive issue, but don't know how 
>> to solve this in an elegant manner, e.g. without loosing Server.app support 
>> for virtual hosting.
>> Any clues?
>> 
>> Thanks
>> --
>> Sergio  _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>> 
>> This email sent to [email protected]
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/ken%40ksroom.com
> 
> This email sent to [email protected]

Thank you

--------------------------------------------------------
K's ROOM      (ISHIMOTO Ken)
--------------------------------------------------------
[E-Mail]  <[email protected]>
[iChat:]   <[email protected]>
[HP]          http://www.ksroom.com/
_____________________________________________________________________
This e-mail has not been scanned for viruses because it was written on an Mac,
and there are NO Viruses on an Apple Computer.
For further information visit http://www.apple.com




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to