English 中文(简体)
协助APACHE网站www.conf文档正确匹配地点?
原标题:Assistance with APACHE www.conf file correctly matching location?

我有一个地点符合正确的工作:

<LocationMatch "^/user/storage/subaccounts(/[a-zA-Z0-9]+)?/?$">

this correctly forwards for something like /user/storage/subaccounts/exampleuser or /user/storage/subaccounts/

I d like to setup a locationmatch for /user/storage/subaccounts/exampleuser/admin

我的尝试是:

<LocationMatch "^/user/storage/subaccounts(/[a-zA-Z0-9]+)?/?admin/?$">

哪些工作没有工作。 难道有人会这样说,以指出我的错误,帮助我有正确的版本? 感谢!

最佳回答

虽然在“行政”之前有一个不需要的问题标记,但对于你所给出的URL样本,这应当予以罚款。 这一错误可能不会出现在地板上,但你根据以下结果适用的指示:<代码><LocationMatch>本身不作任何调整,只是与URL相对应。

问题回答

暂无回答




相关问题
Using SimplePie with CodeIgniter and XAMPP

I am using CodeIgniter 1.7.2 with XAMPP 1.7.2 on a Windows computer. I am trying to make use of SimplePie. I followed all the instructions I could find: a copy of simplepie.inc is in my applications/...

Multiple Sites with common files

I have developed over 50 sites that all use the exact same files other than CSS and IMAGES, I currently duplicate the files each time I create a new site and upload different css and images. What ...

http server validation

I finish a litle http server, writing from scratch. I would like to be sure that my imlementation is conforme to the HTTP specifications. W3C give us tools for HTML/XML conformance, but i see nothing ...

热门标签