kjetha
29th October 2007, 17:55
I am currently using ISPConfig on a shared server and have encountered a bit of an issue. I am migrating a site to this server, which was built using CakePHP, which is a MVC framework for application development. One of the main models the site uses is called Users, and it will rewrite to the following: http://www.domain.com/users/. The root works fine, but if you go to http://www.domain.com/users/login/ you run into problems.
By default, when you create user accounts through ISPConfig, it will allow that user to host their web files, while giving them a url to view the files. There are two urls the files are accessible through:
http://www.domain.com/~useraccount
OR
http://www.domain.com/users/useraccount/
I'm assuming this is where the conflict is happening. Is there a way to disable the account urls from being accessed as /users/useraccount/ and just use the /~useraccount? I don't want to have to go back through all of the coding for that site and change everything to a different name, as it will require some extensive changes. I am wondering if this structure is defined somewhere in the server configuration files/ISPConfig configuration files, or if it something more complex than that.
Thanks for your help!
By default, when you create user accounts through ISPConfig, it will allow that user to host their web files, while giving them a url to view the files. There are two urls the files are accessible through:
http://www.domain.com/~useraccount
OR
http://www.domain.com/users/useraccount/
I'm assuming this is where the conflict is happening. Is there a way to disable the account urls from being accessed as /users/useraccount/ and just use the /~useraccount? I don't want to have to go back through all of the coding for that site and change everything to a different name, as it will require some extensive changes. I am wondering if this structure is defined somewhere in the server configuration files/ISPConfig configuration files, or if it something more complex than that.
Thanks for your help!