ispCP - Board - Support
[SOLVED] sites-enabled and sites-available - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: [SOLVED] sites-enabled and sites-available (/thread-4965.html)



[SOLVED] sites-enabled and sites-available - coper - 11-19-2008 02:32 AM

Hi,

I have two configuration flies (ispcp.conf), one of them in /sites-enabled and the other in /sites-available.
When I add a new domain the /sites-available/ispcp.conf file is updated with the new domain information, but the /sites-enabled/ispcp.conf is not.
So, the new domain doesn't work until the information is in the /sites-enabled/ispcp.conf configuration file. I have to copy and replace like this
cp /sites-available/ispcp.conf /sites-enabled/ispcp.conf to make the new domain work.
Any idea why this happens?

Sorry about my english, I hope you can understand my question.

Thanks!


RE: sites-enabled and sites-available - joximu - 11-19-2008 07:10 AM

The file .../sites-enabled/ispcp.conf is not a regular file. It's a symlink to .../sites-available/ispcp.conf - or at least it should be a symlink... obviously not in your installation...

Try the following:
remove the .../sites-enabled/ispcp.conf and then run "a2ensite ispcp.conf" in the linux shell - this should create the right symlink - maybe you have to rename it :-)

the official command to create symlinks is "ln -s" (LN -S but in small letters :-)

Hope this helps...

/J


RE: sites-enabled and sites-available - coper - 11-20-2008 01:43 AM

Thanks a lot joximu for your fast reply. I did what you said and works perfectly.

[SOLVED] (the issue in the spanish forum is solved too)

Thanks again man!!

c.