[PHP] Re: index.php not autoloading in apache

2008-08-25 Thread Vince Sabio

** At 13:03 +0200 on 08/25/2008, Carlos Medina wrote:

Vince Sabio schrieb:

I am running PHP v5.2.6 on an Apache v2.2 server. For some reason, 
Apache is not automatically loading index.php files, even when 
there is no other index.* file in the directory; it will throw a 
"you do not have permission to access [directory]" instead.


[..]


Hi Vince,
search (grep/find ) for DirectoryIndex: Statement


Many thanks to Carlos and Richard -- I added "index.php" to 
DirectoryIndex:, restarted Apache, and all is working fine now.


__
Vince Sabio  [EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: index.php not autoloading in apache

2008-08-25 Thread Carlos Medina

Vince Sabio schrieb:
I am running PHP v5.2.6 on an Apache v2.2 server. For some reason, 
Apache is not automatically loading index.php files, even when there is 
no other index.* file in the directory; it will throw a "you do not have 
permission to access [directory]" instead.


I have the following in my httpd.conf file:

LoadModule php5_modulelibexec/apache22/libphp5.so
php_value session.save_path "/tmp/"
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps

In case it matters, the server OS is FreeBSD-7.0-RELEASE.

Any idea what the problem is? I mean, other than the wetware?

Muchas gracias

__
Vince Sabio  [EMAIL PROTECTED]

Hi Vince,
search (grep/find ) for DirectoryIndex: Statement

Regards

Carlos

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: index.php question

2002-03-17 Thread LaserJetter

Try adding a slash to the end of the URL i.e. www.whatever.com/~jondoe/ and
see if that helps.
Maybe Apache tries to parse your PHP file as if it is an HTML file.



"Omland Christopher M" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all, I'm new to the mailing list, I hope I'm in the right spot.
> I have installed php, and .php files work fine, unless they are my index
> file. For example http://whatever.com/~jondoe/info.php will work. But if I
> make a index.php file and go to http://whatever.com/~jondoe it wont work.
> I can view the source and see my php code, which I know means the server
> isn't translating it. I'm running RH LINUX, and running apache webserver.
> I have checked the httpd.conf file and the load modules lines are in
> there, and they are correct??(I THINK)
> Any help would be appreciated.
> Thank You.
> -Chris
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: index.php

2001-12-30 Thread Daniel Urstöger

I am not sure if this is the problem. but why don´t just do something like
this:

DirectoryIndex index.html index.php index.cgi

Search the httpd.conf, there is surely already for the index.html ! ;)
Ehm, yeah, and this is one is ordered in priority from the left to right ..

Hope it helps !

Cya !

"Caleb Carvalho" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> all the sudden my apache 1.3.22 is not showing my index.php page
> php-4.0.6, i have added the addtype .php inside httpd.conf
>
> not only that, i have also noticed that the  is not
> working also, this is  not displaying the test page,
>
> I am using netscape as a browser, do you guys know about any issue related
> to this?
>
> many thanks and happy x-mas/happy new year
>
>
>
> _
> Join the world's largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]