1
phasys
index.php does not automatically load
  • 2004/11/25 5:58

  • phasys

  • Just popping in

  • Posts: 5

  • Since: 2004/10/24


Ok guys, I kinda feel stupid for asking this, but I've tried pretty much everything I could find and this problem is driving me nuts.

It's most likely Apache related, but I'm gonna ask anyway

I'm running these versions:

Xoops 2.0.7.3
PHP 4.3.9
Apache 2.0.52

Everything went fine during the installation. I installed XOOPS in htdocs/xoop.

So, if I want to open it, I type http://localhost/xoop.

Now, what happens is that I get the directory listing, and not the index by default. I actually have to click on the index.php to see the login screen.

Then, after logging in, and I want to go to my forums module, I get the same thing. I get the directory listing of the forums module, and I have to click on index.php to see the actual content. I've tried several things in the Apache config file, but none of them worked.

Can anyone tell me what I'm doing wrong here?

Thanks.

2
smdcom
Re: index.php does not automatically load

i think you've to set your php configuration settings.

3
brash
Re: index.php does not automatically load
  • 2004/11/25 6:30

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Have you set the default page in Apache?

4
phasys
Re: index.php does not automatically load
  • 2004/11/25 6:52

  • phasys

  • Just popping in

  • Posts: 5

  • Since: 2004/10/24


I have added this to the httpd.conf:

Loadmodule php4_module x:/php4/sapi/php4apache2.dll
PHPIniDir "x:/php4"

AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php-source .phps

I even changed the default type to application/x-httpd-php

Nothing works!

Brash, what do you mean with setting default page?

5
phasys
Re: index.php does not automatically load
  • 2004/11/25 6:57

  • phasys

  • Just popping in

  • Posts: 5

  • Since: 2004/10/24


Fixed it! Thank you guys, but I believe I solved it by adding this :

DirectoryIndex index.html index.html.var ***index.php***

6
brash
Re: index.php does not automatically load
  • 2004/11/25 9:10

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Nice one . I use IIS so didn't know the exact apache term for it, but you got there anyway

Login

Who's Online

243 user(s) are online (195 user(s) are browsing Support Forums)


Members: 0


Guests: 243


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits