Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 408C1D552 for ; Mon, 27 Aug 2012 20:59:02 +0000 (UTC) Received: (qmail 25361 invoked by uid 500); 27 Aug 2012 20:58:59 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 25341 invoked by uid 500); 27 Aug 2012 20:58:59 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 25331 invoked by uid 99); 27 Aug 2012 20:58:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2012 20:58:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ben@indietorrent.org designates 205.186.134.222 as permitted sender) Received: from [205.186.134.222] (HELO indietorrent.org) (205.186.134.222) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2012 20:58:54 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by indietorrent.org (Postfix) with ESMTP id 6E605283800C for ; Mon, 27 Aug 2012 13:58:33 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at indietorrent.org Received: from indietorrent.org ([127.0.0.1]) by localhost (indietorrent.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pOgiDuUkNN1R for ; Mon, 27 Aug 2012 13:58:32 -0700 (PDT) Received: from [127.0.0.1] (cpe-142-105-206-5.maine.res.rr.com [142.105.206.5]) (Authenticated sender: ben@indietorrent.org) by indietorrent.org (Postfix) with ESMTPSA id 23FEB6A3005D for ; Mon, 27 Aug 2012 13:58:32 -0700 (PDT) Message-ID: <503BDF68.20707@indietorrent.org> Date: Mon, 27 Aug 2012 16:58:16 -0400 From: Ben Johnson User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: users@httpd.apache.org References: In-Reply-To: X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] replace an ip @ by a "normal" URL On 8/27/2012 4:42 PM, Ijlal EL HAZITI wrote: > Hello everybody > I've just installed a webapp (sakai precisely) in a CentOs 6.2 server. > sakai is accessivle via *@ip:8080/portal, *and I need to replace that > adresse by a normal URL: www.exapmle.com/sakai > > > I've already replaced: > > *# > # ServerAdmin webmaster@dummy-host.example.com > > # DocumentRoot /www/docs/dummy-host.example.com > > # ServerName dummy-host.example.com > # ErrorLog logs/dummy-host.example.com-error_log > # CustomLog logs/dummy-host.example.com-access_log common > #* > > by > * > > ServerAdmin webmaster@cmcf.men.gov.ma > DocumentRoot /www/cmcf > ServerName cmcf.men.gov.ma > ErrorLog logs/cmcf.men.gov.ma-error_log > CustomLog logs/cmcf.men.gov.ma-access_log common > * > > (I also tried * *since my webapp is accessible via > @ip:8080/portal but in vain)** > in the file: /etc/httpd/conf/httpd.conf but while retarting the httpd > service, I get that error: > > [root@cmcf ~]# service httpd restart > Arr�t de httpd : [ OK ] > D�marrage de httpd : Warning: DocumentRoot /www/cmcf does not exist > [ OK ] The error message seems to be accurate; you have defined the DocumentRoot as /www/cmcf, but you created the directory in /var/www/cmcf, from what I gather. In other words, you need to prepend "/var" to your existing DocumentRoot path. > even if I've already created the "cmcf" directory in /var/www and gave > it all required permissions. > > I'll be pleased to get any of your suggestions. > Thank you --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org