Current time: 12-26-2024, 10:39 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] sites-enabled and sites-available
Author Message
coper Offline
Junior Member
*

Posts: 91
Joined: Nov 2008
Reputation: 0
Post: #1
[SOLVED] sites-enabled and sites-available
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!
(This post was last modified: 11-23-2008 12:28 AM by coper.)
11-19-2008 02:32 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: sites-enabled and sites-available
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
(This post was last modified: 11-19-2008 07:11 AM by joximu.)
11-19-2008 07:10 AM
Visit this user's website Find all posts by this user Quote this message in a reply
coper Offline
Junior Member
*

Posts: 91
Joined: Nov 2008
Reputation: 0
Post: #3
RE: sites-enabled and sites-available
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.
11-20-2008 01:43 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)