[thelist] Apache PHP CSV

Andrew Maynes andrew at humanbehaviour.co.uk
Wed Aug 21 11:43:01 CDT 2002


only the server_first.php is in there, but your right it doesn't want to let
anythng link out of the htdocs directory linking within is fine... what do I
have to change the deny stuff?

andrew

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Rich Gray
Sent: Wednesday, August 21, 2002 05:24
To: thelist at lists.evolt.org
Subject: RE: [thelist] Apache PHP CSV


You deny all from the /apache/htdocs/shared directory - does your script try
to access anything from there?
Does the access denied /apache/htdocs message appear every time you run your
script?
Is there an .htaccess file in /apache/htdocs?

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Andrew Maynes
Sent: 21 August 2002 16:35
To: thelist at lists.evolt.org
Subject: RE: [thelist] Apache PHP CSV


what about this little lot?

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

<Directory "c:/program files/apache group/apache/htdocs">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

# we deny access in the shared folder because we don't need any files
# to be loaded through apache from here, everything in shared is included in
other scripts.
<Directory "c:/program files/apache group/apache/htdocs/shared">
    Order deny,allow
    Deny from all
</Directory>

DirectoryIndex index.php index.html
AccessFileName .htaccess

# disallow transmission of .ht files
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>
---


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/02




More information about the thelist mailing list