httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kyle Vorster <k...@serv.co.za>
Subject Re: [users@httpd] Apache Conf
Date Fri, 30 Mar 2007 14:59:37 GMT
HI Dragon,

Thank you for the response, cPanel does support this, but I would like 
to setup something where I config all this by one config file and not 
for each and every client.

Any idea's

Kind Regards,
Kyle Vorster

Dragon wrote:
> Kyle Vorster wrote:
>> Hi Guys,
>>
>> I am trying to tweak a apache server installed with cPanel.
>>
>> What I am trying to do is set server-wide 'custom' error pages, but 
>> when a user uploads his own set of 'custom' error pages it should 
>> over-right the server-wide pages and display the users pages.
>>
>> so looking at something like this
>>
>> if (is_file(/home/$user/public_html/404.shtml))
>> {
>>  display /home/$user/public_html/404.shtml;
>> } else {
>>  display /usr/local/apache/htaccess/404.shtml;
>> }
>>
>> Any one know how this could be done, or direct me to the right 
>> documents.
> ---------------- End original message. ---------------------
>
> This is getting a bit out of Apache territory and really ought to be 
> asked on a cPanel forum but I will take a shot at it...
>
> I know this is possible on Plesk (another control panel similar to 
> cPanel). The way they do it is to have separate configuration files to 
> handle each of the virtual host domains. You can pretty much do 
> anything you want in those domain specific files.
>
> It would surprise me if cPanel doesn't support a similar scheme. Dig 
> into your cPanel documentation and see what they have to say about 
> virtual host configuration.
>
> Dragon
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message