在Debian中配置apache2.conf webobjects.conf

时间:2015-12-02 09:34:03

标签: apache debian webobjects

这是一个非常简单的问题,但我已经在部署Debian服务器上开始使用WebObjects两天了。到目前为止,Eclipse和Direct Connect都运行良好,apachectl -M显示webobjects模块(http服务器)已安装,运行和共享。但是当我尝试运行像Hello World这样简单的东西时,浏览器返回404。

我的应用程序位于/ usr / share / webobjects / Library / WebObjects / JavaApplications /

关于如何配置(符号链接和.conf条目)以使其工作的任何指示?

非常感谢。

路易斯

1 个答案:

答案 0 :(得分:0)

您是否看过WOCommunity维基上的Deploying on Linux页面?如果这没有帮助,您可能需要在此处发布- (IBAction)whatAppInvite:(id)sender { NSString * strTextPost = [@"" stringByAppendingFormat:@"Hey try this app. Its amazing. \n\n https://itunes.apple.com/us/app/google-search/*********2?mt=8"]; strTextPost = [strTextPost stringByReplacingOccurrencesOfString:@" " withString:@"%20"]; strTextPost = [strTextPost stringByReplacingOccurrencesOfString:@":" withString:@"%3A"]; strTextPost = [strTextPost stringByReplacingOccurrencesOfString:@"/" withString:@"%2F"]; strTextPost = [strTextPost stringByReplacingOccurrencesOfString:@"?" withString:@"%3F"]; strTextPost = [strTextPost stringByReplacingOccurrencesOfString:@"," withString:@"%2C"]; strTextPost = [strTextPost stringByReplacingOccurrencesOfString:@"=" withString:@"%3D"]; strTextPost = [strTextPost stringByReplacingOccurrencesOfString:@"&" withString:@"%26"]; strTextPost = [strTextPost stringByReplacingOccurrencesOfString:@"." withString:@"%2E"]; strTextPost = [strTextPost stringByReplacingOccurrencesOfString:@"'" withString:@"%27"]; strTextPost = [strTextPost stringByReplacingOccurrencesOfString:@"-" withString:@"%2D"]; NSString * urlWhats = [NSString stringWithFormat:@"whatsapp://send?text=%@",strTextPost]; NSURL * whatsappURL = [NSURL URLWithString:urlWhats]; if ([[UIApplication sharedApplication] canOpenURL: [NSURL URLWithString:@"whatsapp://app"]]) { if ([[UIApplication sharedApplication] canOpenURL: whatsappURL]) { [[UIApplication sharedApplication] openURL: whatsappURL]; } else { // don't know what happens // calls this } } else { UIAlertView * alert = [[UIAlertView alloc] initWithTitle:@"WhatsApp not installed." message:@"Your device has no WhatsApp installed." delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil]; [alert show]; } } 的相关部分以供检查。