domain_default_page and invisible files - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: domain_default_page and invisible files (/thread-12498.html) |
domain_default_page and invisible files - berghonk - 12-22-2010 09:37 PM I installed my first webserver with ISPCP a few weeks ago and wanted to add some contents to the "domain_default_page" folder, but those items I added were not copied by the domain creation script. I added the following things: .autoconfig (folder) |_ config.php (file) Did I just find a bug or is that normal behavior? is it because the .autoconfig folder is invisible? Best regards Christian. Should've read the source code first! Solution: ISPCP doesn't copy the whole domain_default_page folder. It first picks the index.html and does some find/replace (so that the right domain name is shown). Afterwards it just copies the "images" folder and the index.html file to the newly created htdocs. Why that is, I don't know... I solved the problem as follows: I added the following lines to the file /var/www/ispcp/engine/ispcp-dmn-mngr: Code: $rs = sys_command( Now the script copies my .autoconfig stuff - which enables (combined with some mod_rewrite magic in the Apache config) "Thunderbird" to find email settings for all of my customers on it's own. You can close this thread. Thanks![/code] RE: domain_default_page and invisible files - joximu - 12-23-2010 06:47 PM I also stumbled over this some time ago... :-) [close] |