PDA

View Full Version : "Users" folder


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!

till
30th October 2007, 13:10
You can change this in the file /root/ispconfig/isp/conf/vhost.conf.master

esezako
13th March 2009, 14:36
and how can i do for remake the Vhosts_ispconfig.conf after change the vhost.conf.master?

till
13th March 2009, 18:33
Edit the settings of a website and click on save.