On Sat, Aug 23, 2003 at 01:09:57PM +0200, Uwe Pross wrote:
> Hi there,
> 
> On 23 Aug 2003 at 07:11:41 +0200, Olivier Chapuis wrote:
> 
> > By the way, I've some problem to browse my local copy of the
> > fvwm web site. For example if I open
> > 
> >    file:/home/olivier/fvwm/web/index.php
> > 
> > with Mozilla I get the php source. Any tips so that I can
> > browse my local copy of the fvwm web site as the web one?
> 
> That's normal ;-)
> 
> php statements are processed by a web server. The php
> statements produce html code which is sent to the user's
> browser.
> To get the web page work you need a local installed web
> server with php-4.3.x module. This should be available for
> most distributions. Compiling apache and php is not that
> hard. I did it on my box since I got an old suse linux dist
> running for which the rpms are not available.
> 
> Once it is installed and proper configured you should get
> access to the web server by using :
> 
>       http://localhost/
> e.g.  http://localhost/fvwm-web
> 
> If you need some help for configuration please let me know. 
> I have got all the statements for http.conf which are
> necessary to get the fvwm-web site work.
>

Just installed appach and add this at the end of my httpd.conf

  Alias /fvwm-web /home/olivier/fvwm/web

  <Directory /home/olivier/fvwm/web>
      Options Indexes FollowSymLinks
      Order deny,allow
      Deny from all
      Allow from 127.0.0.1
  </Directory>

works fine.

Thanks, Olivier
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to