Hi, Where can i chaneg the default files off error's ( 404, 505, etc... )? I will like to change the index.html of every new domain by default. Could please someone tell me where are the default files ( templates i gess ) and whare are the files, for change them?
Hi, Is there any way to copy an image when the index.html is created in the root of the new domain? The file standard_index.html_en is the template of the index.html. The index.html is created in the root of eatch new domain. There is anyway of copy an image.gif for the root of the new domain? Till tanks for all your eforde on my questions.
the easiest way is to use an absolut path to your picture. like setting http://www.my_main_domain.com/images/my_corporate_logo.gif
You can add a global Alias which will point to the directory with the image in httpd.conf (or apache.conf, depends on distribution). You must do that outside of any <VirtualHost>. Something like this will do Code: Alias /defaultimages/ /path/to/your/dir/ <Directory /path/to/your/dir> #relevant options </Directory> And then in you HTML you may have something like: Code: ... <img src="/defaultimages/myimage.gif" .... /> ... You need mod_alias enabled for that, but it should be enabled by default.