- Joined
- Feb 27, 2003
- Messages
- 8,437
Yes they can.
Which will now create the new folder for all new Resellers in /home/reseller/domains/default/error/*.shtml
Now.. for any *existing* Reseller and/or Admins, you'll need to fix them, eg:
and.. again for all users who need this particular setup, from their public_html to public_html/error.
Lastly, you'll need to tell apache that their location has changed.
Edit your main /etc/httpd/conf/httpd.conf file. Find the code:
and change it to
John
Code:
cd /usr/local/directadmin/data/templates/custom
cp -Rp ../default .
cd default
mkdir error
mv *.shtml error
Now.. for any *existing* Reseller and/or Admins, you'll need to fix them, eg:
Code:
cd /home/[b]reseller[/b]/domains/default
mkdir error
mv *.shtml error
Lastly, you'll need to tell apache that their location has changed.
Edit your main /etc/httpd/conf/httpd.conf file. Find the code:
Code:
ErrorDocument 400 /400.shtml
ErrorDocument 401 /401.shtml
ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.shtml
Code:
ErrorDocument 400 /error/400.shtml
ErrorDocument 401 /error/401.shtml
ErrorDocument 403 /error/403.shtml
ErrorDocument 404 /error/404.shtml
ErrorDocument 500 /error/500.shtml