Eminos Wrote:Hi,
I would like to be able to give my customers temporary URLs for use before their DNSs gets propageted.
Something like:
userdomain.com.customer.myhosting.com
OR
customer.myhosting.net/~userdomain.com
The later one can be achived by a how-to for VHCS, but this doesn't work in ISPCP, I guess due to fcgi and permissions and stuff like that.
( http://vhcs.puuhis.net/wiki/index.php/Te...to_domains )
So, is there a way to implement this into current ispcp ?
Either automatic for all new customers, or (temporarly) manually for customers that wants this.
I really really need this, and this has been discussed before here, in a thread started by me, but back then I couldn't get it to work, and I guess I didn't need it this badly.
Greatful for help.
/E
Actually, I was able to make the customer.myhosting.net/~userdomain.com work following the instructions, with some tweaks.
<VirtualHost 10.0.0.1:80)
ServerName ispcp.test.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>
This allowed me to load domains via ispcp.test.com/~otherdomain.com
Hope this helps,
Chris