httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Moreira <luis.more...@esinnovation.pt>
Subject Re: [users@httpd] Question to directories
Date Thu, 29 Jan 2004 14:11:59 GMT
Subscribe (if you haven't already) to a PHP list (www.php.net), or send me
more details.
I'll see if I can help you

Luis


----- Original Message -----
From: "Boyle Owen" <Owen.Boyle@swx.com>
To: <users@httpd.apache.org>
Sent: Thursday, January 29, 2004 1:54 PM
Subject: RE: [users@httpd] Question to directories


>
>
> > -----Original Message-----
> > From: Bernhard Meyer [mailto:bman78@gmx.at]
> > Sent: Donnerstag, 29. Januar 2004 14:49
> > To: users@httpd.apache.org
> > Subject: Re: [users@httpd] Question to directories
> >
> >
> > > <Directory /path/to/include>
> > >   Allow from all
> > > </Directory>
> >
> > thanks for the hint, but didn't work for me..:/
>
> No wonder... your original post said nothing about PHP (which, contrary
> to popular belief, is *not* part of apache) nor did you mention that the
> "include" directory was something special and not simply a directory for
> html files.
>
> It would seem that your problem is entirely in your PHP configuration...
> therefore OT.
>
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored.
>
>
> >
> > I get this php error message:
> >
> > Warning: main(../include/logic/API.class.inc): failed to open
> > stream: No
> > such file or directory in /www/htdocs/c_d/docroot/index.php on line 2
> >
> > Fatal error: main(): Failed opening required
> > '../include/logic/API.class.inc' (include_path='.:/php/includes') in
> > /www/htdocs/c_d/docroot/index.php on line 2
> >
> >
> > @Jez:
> > > How are you 'including' these files?
> >
> > I do a simple
> >
> > include_once("../include/logic/API.class.inc");
> >
> > on the required files, but it seems like apache denies access to the
> > files that are over the document root.
> >
> > I also tried a symbolic link like "ln -s ../include include
> > and when I visit http://localhost/include/ I get the directory
> > listing...but still no luck with the scripts...
> >
> > thanks in advance,
> > Bernhard
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
>
> This message is for the named person's use only. It may contain
> confidential, proprietary or legally privileged information. No
> confidentiality or privilege is waived or lost by any mistransmission.
> If you receive this message in error, please notify the sender urgently
> and then immediately delete the message and any copies of it from your
> system. Please also immediately destroy any hardcopies of the message.
> You must not, directly or indirectly, use, disclose, distribute, print,
> or copy any part of this message if you are not the intended recipient.
> The sender's company reserves the right to monitor all e-mail
> communications through their networks. Any views expressed in this
> message are those of the individual sender, except where the message
> states otherwise and the sender is authorised to state them to be the
> views of the sender's company.
>
>
>
> ---------------------------------------------------------------------
> 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