1 |
Hi Guys, |
2 |
|
3 |
I am trying to tweak a apache server installed with cPanel. |
4 |
|
5 |
What I am trying to do is set server-wide 'custom' error pages, but when |
6 |
a user uploads his own set of 'custom' error pages it should over-right |
7 |
the server-wide pages and display the users pages. |
8 |
|
9 |
so looking at something like this |
10 |
|
11 |
if (is_file(/home/$user/public_html/404.shtml)) |
12 |
{ |
13 |
display /home/$user/public_html/404.shtml; |
14 |
} else { |
15 |
display /usr/local/apache/htaccess/404.shtml; |
16 |
} |
17 |
|
18 |
Any one know how this could be done, or direct me to the right documents. |
19 |
|
20 |
Kind Regards, |
21 |
Kyle Vorster |
22 |
|
23 |
-- |
24 |
gentoo-user@g.o mailing list |