English 中文(简体)
如何正确配置(共用主机)的传承服务器?
原标题:How to correctly configure server for Symfony (on shared hosting)?

我决定学习国名,现在,我读到“实用的国名”书一开始。 在阅读“网络服务器配置”部分后,我有一个问题。

该手册描述了如何正确配置服务器:浏览器只能查阅网络/和f/.../目录。 该手册对此有很强的指示,我作为“无照”用户,在他们之后,我就没有问题,在我的当地机器上做了一切工作。 然而,这涉及编辑虚拟主条目,通常不易对共用的主机进行编辑。 因此,我想知道,在共享托管环境方面,假冒开发商利用何种共同技术取得相同结果? 我认为,我可以这样做,在根基中添加“从所有人那里获得”的内容,然后在允许的名录中推翻这一规则。 然而,我不清楚这是否最容易,以及通常使用的方式。

最佳回答

如果你能够在公共目录之外增加档案,把所有目录放在该名录上,并将所有档案放在网站名录上(如果你需要,请浏览目录), 在这种情况下,只有公众可以查阅网站档案,但是,如果你只能查阅公共目录,而且不能在网站外添加目录,你可以把所有文件放在公众内部......html上,并确保其安全(我认为,上网可以做trick计),网站文件也应公开发表——html,但必须修改<编码>,要求查阅。 /.config/ProjectConfiguration.class.php; of their index.php to point to the new place of the ProjectConfiguration file.

但是,由于这是一个共同的托管环境,其他人仍然有可能查阅你的档案,但这主要取决于主办方如何建立服务器。

问题回答

暂无回答




相关问题
How to configure Ruby ob Rails for XAMP server?

I have installed Ruby On Rails Application on my harddrive, and i am using XAMPP server. But i was not able to configure it to use on XAMPP server, do Ruby on Rails run on XAMPP server or need some ...

How reliable are URIs like /index.php/seo_path

I noticed, that sometimes (especially where mod_rewrite is not available) this path scheme is used: http://host/path/index.php/clean_url_here --------------------------^ This seems to work, at least ...

.htaccess mod_rewrite has different result on different sites

I am using mod_rewrite to create SEO URLs. Basically the thing works in the following way: all requests are caught by .htaccess and redirected to a php script (let s say transform.php). transform.php ...

how can i send message?

I have programmed for mailing in php.but how can i send mail through local server?

Multiple PHP versions on the same box

Is it possible to have multiple versions of PHP running on the same box ( like rails ) . Here is my problem , I need to start development on a new project and was planning to use PHP 5.3 for it so ...

Global variables in css style sheets

I hava an absolute url in my stylesheet. http://localhost/images/myimage.jpg. I also have a config class with the following constant const SITE_ROOT = http://localhost/images On php pages i ...

热门标签