Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st July 2007, 17:15
rolandpish rolandpish is offline
Junior Member
 
Join Date: Jul 2007
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default Question about web_id field

Hi there; first of all, thanks to the developers of this excellent hosting control panel.

I've been reading several threads on this forum about changing the default webid (web1, web2, etc) auto-generated when adding a ISP Site to a more friendly name.
I read that changing large parts of the source code is required to achieve this, but I don't want to change the source code and mess everything.

That's why I would like to ask if it is possible to change the webid directly on the ispconfig database once a ISP Site has been created. For example, after web1 has been created -> go to the database -> change web_id from web1 to webtest -> change the name of the folder on /var/www/web1 to /var/www/webtest (change the corresponding symbolic link too).

Is this possible?

Thanks in advance.

Best regards
Reply With Quote
Sponsored Links
  #2  
Old 31st July 2007, 17:50
3cwired_com 3cwired_com is offline
Senior Member
 
Join Date: Sep 2006
Posts: 100
Thanks: 3
Thanked 3 Times in 2 Posts
Default

I am not sure if i understand you correctly, but if you login to ISPConfig, and goto to the management tab, then from there click on system config >--> settings, and then ispmanager tab, there is an option there for the prefix, is that what you were asking about?
__________________
Behind every great fortune lies a crime.
www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
www.galants.org - The Home for Galant Enthusiasts
www.locatemyip.com - More than just free IP displays
Reply With Quote
  #3  
Old 31st July 2007, 18:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,421
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

Quote:
Originally Posted by rolandpish
Hi there; first of all, thanks to the developers of this excellent hosting control panel.

I've been reading several threads on this forum about changing the default webid (web1, web2, etc) auto-generated when adding a ISP Site to a more friendly name.
I read that changing large parts of the source code is required to achieve this, but I don't want to change the source code and mess everything.

That's why I would like to ask if it is possible to change the webid directly on the ispconfig database once a ISP Site has been created. For example, after web1 has been created -> go to the database -> change web_id from web1 to webtest -> change the name of the folder on /var/www/web1 to /var/www/webtest (change the corresponding symbolic link too).

Is this possible?

Thanks in advance.

Best regards
Why do you want to do this? ISPConfig already creates symlinks with the name of the domain pointing to the correct location, so it looks exactly like what you want to achieve.

You can not change the ID of a website even without a lot of programming as the ID must be numeric and automatically incremented by the database.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 31st July 2007, 18:53
rolandpish rolandpish is offline
Junior Member
 
Join Date: Jul 2007
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Ok, I see. Thanks a lot for your replies.

What I wanted to do is to change the default generated webid (web1, web2, web3, etc) for a friendlier name.
For instance, if I created a ISP Site with a domain called: rolandpish.com I wanted the webid to be: rolp, in order to have the user prefix like: rolp_roland, rolp_mark instead of web1_roland, web1_mark, etc.

I thought replacing web1 with rolp directly on the database (after the ISP Site is created) could do the trick, but I prefer to answer before messing things up. I don't want to modify the source code either.

Regards

Last edited by rolandpish; 31st July 2007 at 18:55.
Reply With Quote
  #5  
Old 31st July 2007, 21:18
rolandpish rolandpish is offline
Junior Member
 
Join Date: Jul 2007
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Sorry, a typo in the last post, the line:
"I prefer to answer before messing things up"
must be read:
"I prefer to ask before messing things up"

Is it possible the trick I mentioned in my last post?

Thanks again

Best Regards
Reply With Quote
  #6  
Old 1st August 2007, 09:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,421
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

Quote:
Originally Posted by rolandpish
Is it possible the trick I mentioned in my last post?
No, please see my post above:

Quote:
...the ID must be numeric...
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
rolandpish (1st August 2007)
  #7  
Old 1st August 2007, 16:21
rolandpish rolandpish is offline
Junior Member
 
Join Date: Jul 2007
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Oh, sorry, I didn't pay attention to that.

Thanks for your reply and thanks for this excellent control panel!

Best Regards
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
a simple question on sub-domain forwarding... I think... dimas Installation/Configuration 11 4th August 2007 11:38
ISPConfig installation question: German text in English Installation. AdamR Installation/Configuration 5 1st June 2007 09:47
2.4.17 system needed modul8r Installation/Configuration 16 31st May 2007 14:15
Username Field Length? jonwatson Installation/Configuration 3 14th February 2007 18:57
Crontab Joe-Montana HOWTO-Related Questions 2 23rd October 2005 23:54


All times are GMT +2. The time now is 02:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.