如何建立一个fallbackResource在一个子 [英] How to setup a fallbackResource in a subdomain

查看:344
本文介绍了如何建立一个fallbackResource在一个子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的子域名是 http://forma.culturadigital.cc

我曾尝试以下(从 Apache文档):

<Directory /kunden/homepages/21/d460086828/htdocs/forma/es>
FallbackResource /forma/es/index.php
</Directory>

但我得到一个500内部服务器错误。

But i get a 500 internal server error.

也试过简单:

FallbackResource /forma/es/index.php

这不给一个错误,但没有捕获错误的URL的任一。

Which doesn't give an error but doesn't catch wrong url's either.

注:我已经成功地建立一个fallbackResource的主域名已经,像这样的:

FallbackResource /es/index.php

的问题,因此,是试图使它在一个子域工作的时候。

The problem thus, is when trying to make it work in a subdomain.

推荐答案

在您的意见告诉记者,该文件夹/备考只分配给子域forma.culturadigital.cc,你应该尝试从FTP obmit相对部分根使用/形式上的路径根。基本上尝试使用:

After you told in the comments that the folder /forma is only assigned to the subdomain forma.culturadigital.cc you should try to obmit the relative part from your ftp root use the /forma path as root. Basically try using:

FallbackResource es/index.php

您也可以检查,如果你有一个error.log中的文件可能包含有用的信息。

You could also check if you have a error.log that file may contain helpful informations.

这篇关于如何建立一个fallbackResource在一个子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆