introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

index page - need help



Posted by: beginnerphp
January 12, 2010 03:04AM
Hi there,

I would like to know if there is a way of not showing the indexpage of the easyphp. That is if i am to go 'live' on my database, i do not want users to see the indexpage where all the files will be displayed.
Options: ReplyQuote
Posted by: Amour
January 12, 2010 03:07AM
Do you use EasyPHP through Internet ??

If yes : it was not made for that.
Options: ReplyQuote
Posted by: beginnerphp
January 12, 2010 03:17AM
No, not through internet but will use it locally via a computer.
Options: ReplyQuote
Posted by: Amour
January 12, 2010 09:03AM
If you put your files, people will see your pages... so I don't understand your answer
Options: ReplyQuote
Posted by: beginnerphp
January 12, 2010 09:31AM
To clarify, Users will be using their own pc to access to the local machine where the database will be kept.

If Users just typed [localhost] on their web browser,it will show them the list of php files, however if [localhost/main.php] is entered, the web browser will displayed the list of the php files.

So what i want to do is to block/disable the easyphp index page where files will be shown should the user enter [localhost].

However the admin will still be able to access to the indexpage if he is using the local machine to make any changes to the database.

(Let me know if my description is not very clear, sorry about it.)
Options: ReplyQuote
Posted by: Amour
January 12, 2010 12:14PM
If all is into same computer, you can't do it :

If Directory Indexing is forbidden, OK that's work, but admin can't list directory too.
If you want, you can change "Options" directive into conf_files\httpd.conf, after <DocumentRoot section.
It may be as it : "Options -Indexes" and not "Options Indexes"

Is it working ?
Options: ReplyQuote
Posted by: beginnerphp
January 13, 2010 02:17AM
Yes it works!!..

thanks for the help. Yea the admin wont be able to access to the directory as well.. but most important, for my case, is not to allow other users to have the chance to view the directory.

Anyway appreciate your help. Thank you.
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.