Windows 2k + Apache 2.x + PHP 4.x + Security = True?

Forum for you who has PHP installation issues

Moderators: egami, macek, gesf

Post Reply
User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2213
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Mon Mar 28, 2005 7:03 am

I would actally make it so that webpages are on a separate harddisk..
and what do you mean that php can list all the files on its path?

you mean listing files outside your directory root(several levels higher) or what?

Föresten -- om du lägger till mig på msn så kan ajg hjälpa dig lite bättre ;-)
Best Regards,
Alexej Kubarev
-------------------------------
Zend Certified Engineer
Image Image

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1279
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

Mon Mar 28, 2005 9:52 pm

do you want directory listing by Apache or by PHP ?
to Enable Directory Listing by Apache
check the httpd.conf file
and
in

Code: Select all

<Directory c:/pro.../htdocs>
Options +Indexes
...

</Directory>

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2213
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Tue Mar 29, 2005 12:04 am

The problem is ruturajv that this would be a shared host -- and he doesnt like that everyone else may have access to the whole server (or harddrive) throught PHP... I am actually a bit confused as this should be any problem due to the read-only rights for PHP on a server outside its root :S
Best Regards,
Alexej Kubarev
-------------------------------
Zend Certified Engineer
Image Image

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Baidu [Spider], Bing [Bot] and 1 guest