A bunch of small questions .. - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: General discussion (/forum-11.html) +--- Thread: A bunch of small questions .. (/thread-650.html) |
RE: A bunch of small questions .. - Eminos - 05-24-2007 11:08 PM Couldn't find that script. But now I can't even get this to work: http://vhcs.puuhis.net/wiki/index.php/Temporary_address_to_domains It worked fine in VHCS. Now I just get a 404, and nothing in the logs. /E RE: A bunch of small questions .. - Eminos - 05-24-2007 11:37 PM Oh, it was the DNS Cash spooking again. That's sorted out, but now I have this error: "The requested URL /php4/php4-fcgi-starter/index.php was not found on this server" ...when trying to reach userdir.domain.com. This is my userdir.conf: <VirtualHost userdir.domian.com:80> ServerName userdir.domain.com DocumentRoot /var/www/ispcp/gui <Directory /var/www/ispcp/gui> Options Indexes Includes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all </Directory> <IfModule mod_userdir.c> UserDir /var/www/virtual/*/htdocs UserDir disabled root <Directory /var/www/virtual/*/htdocs> AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec </Directory> </IfModule> </VirtualHost> /E RE: A bunch of small questions .. - Eminos - 05-25-2007 01:28 AM I've tried to add the ScriptAlias line, like this: <IfModule mod_userdir.c> ScriptAlias /php4 /var/www/fcgi/hostingdomain.com/ UserDir /var/www/virtual/*/htdocs UserDir disabled root ... --- Then I get like a timeout, and error 500. Error log: [Thu May 24 17:22:33 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/hostingdomain.com/php4-fcgi-starter" (uid 0, gid 0) restarted (pid 26207) [Thu May 24 17:22:33 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/hostingdomain.com/php4-fcgi-starter" (pid 26207) terminated by calling exit with status '107' [Thu May 24 17:22:39 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/hostingdomain.com/php4-fcgi-starter" (uid 0, gid 0) restarted (pid 26208) ... FastCGI: (dynamic) server "/var/www/fcgi/hostingdomain.com/php4-fcgi-starter" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds ---- A get a whole bunch of these. /E RE: A bunch of small questions .. - Eminos - 05-25-2007 02:42 AM Whata hell ! I can't even get it to work if I put an Alias to my ispcp.conf under my domain, like: Alias /userdomain.com /var/www/virtual/userdomain.com/htdocs/ I get a 404 I'm sure it's the fcgi. I don't know how to fix it Is there ANY WAY at all that I can give my customers a way to see their webpage without using THEIR domain ?? /E RE: A bunch of small questions .. - Eminos - 05-25-2007 03:46 AM No one ? Maybe it's a user rights problem ? Since the files in my customers domain folder are vu2054, maybe that's why I'm getting the 404 ? But I should have got a 403 then ? Hmmm... I really need a way to give some of my customers a "subdomain" or alias or whatever you wanna call it. /E RE: A bunch of small questions .. - joximu - 05-25-2007 04:31 AM I'm sure you can put som more Serveralias Names in the apache config... (but also in /etc/ispcp/apache/working..) instead of only ServerName domain.ch ServerAlias http://www.domain.ch domain.ch *.domain.ch you make ServerName domain.ch ServerAlias http://www.domain.ch domain.ch *.domain.ch domain.cust.mydomain.tld or something like that - of course the DNS fro *.cust.yourdomain.tld must point to the ispcp server. It's a manual way but should work... (until there is a better solution integrated)... Maybe you can adapt the tpl files which are used to create new entries in the conf file.. RE: A bunch of small questions .. - Eminos - 05-25-2007 04:40 AM Hmm, thanks for the tip joximu, but I don't really understand. First, I don't understand under what domain I should edit that ServerName and ServerAlias, under mycustomer.com or hostingcompany.com ? Could you please make the same example as in your post above, but please use mycustomer.com and hostingcompany.com. Foolproof Thanks man .. /E RE: A bunch of small questions .. - joximu - 05-25-2007 04:52 AM Since you have to add this for every customer domain its like this: old: Code: ServerName mycustomer.com new: Code: ServerName mycustomer.com the part ".cust." is only for the case a cusomer is named www oder mail - that would be a problem... :-) RE: A bunch of small questions .. - Eminos - 05-25-2007 05:04 AM Alright, I changed that, still no go. You said something about bind/dns as well ? -- Oh I see. I put the "customer" to myhostingcompany.com.db (bind file) customer IN A ***.***.***.*** /E RE: A bunch of small questions .. - joximu - 05-25-2007 05:20 AM Yes - of course the urls mycustomer.cust.hostingcompany.com must resolve to the ip of the ispcp server. so in the dns zone file of hostingcompany.com I' add something like this: *.cust.hostingcompany.com 1D IN CNAME admin.hostingcompany.com. or similar... |