vhost.conf with plesk makes infinite loop

Posted by user134598 on Server Fault See other posts from Server Fault or by user134598
Published on 2012-09-04T08:28:53Z Indexed on 2012/09/04 9:39 UTC
Read the original article Hit count: 331

Filed under:
|
|

So I'm trying to make rewrite rules for my just migrated site and now we're using PLESK (unfortunately in my opinion). So, in order to make those rewrites I'm using the vhost.conf file in mydomain/conf folderm and I execute:

/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=mydomain.org

so that includes my file into the httpd configuration. However, no matter what I write in my vhost.conf file, it will make my site go in an infinite loop whenever I try to load an URL that's not just the domain. Example:

mydomain.org

Works just fine.

mydomain.org/event/nameofevent

Will try endlessly to load and eventually my browser will detect that infinite loop.

I though I was writing something incorrectly in my vhost.conf file but I even tried it with the file empty (not a single line). It will still try to load endlessly. Anybody can hint me if I'm skipping a step before (like any activation that should be done beorehand or something).

Thanks in advance.

© Server Fault or respective owner

Related posts about rewrite

Related posts about plesk