1
jerryintx
"mywebsite"/xoop/index.php not working
  • 2004/11/16 1:18

  • jerryintx

  • Just popping in

  • Posts: 8

  • Since: 2004/11/16


I may have banged up my installation of xoops, but it is working now. The problem I have is when you go to my website (so far, justhttp://localhost/xoops) I get an index of XOOPS folder, not the index.php page opening up to my site.

Obviously I don't want webusers going to my site once its up, and seeing a list of my files instead of my website.

How can I fix this?

I tried searching for a fix for this, but didn't even know what exactly to search for.

Thanks

Jerry

2
brash
Re: "mywebsite"/xoop/index.php not working
  • 2004/11/16 1:28

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Hi Jerry, what webserver are you using?

3
jerryintx
Re: "mywebsite"/xoop/index.php not working
  • 2004/11/16 1:50

  • jerryintx

  • Just popping in

  • Posts: 8

  • Since: 2004/11/16


I am using apache.

Thanks

Jerry

4
brash
Re: "mywebsite"/xoop/index.php not working
  • 2004/11/16 2:03

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Doh! I'm an IIS user, so unfortunately won't be able to help you there. Hopefully someone else should pick upon your thread. However, I'd say that it sounds very much like a webserver config issue, so I'd suggest getting stuck into the user documentation if you are wanting a speedier turn around.

5
jerryintx
Re: "mywebsite"/xoop/index.php not working
  • 2004/11/16 2:06

  • jerryintx

  • Just popping in

  • Posts: 8

  • Since: 2004/11/16


when I do go to 'mywebsite' (iehttp://localhost/), it opens up the index.html file. For some reason, athttp://localhost/xoops/ it will not open up index.php

I will look further into it and solict others who may have an idea.

Thanks for the help

Jerry

6
jerryintx
Re: "mywebsite"/xoop/index.php not working
  • 2004/11/16 3:57

  • jerryintx

  • Just popping in

  • Posts: 8

  • Since: 2004/11/16


Thanks for the help brash, I looked into the various conf files, and I found the problem. In case there are others out there, here is the fix.

In your config file httpd.conf you will see the following:

<blockquote> IfModule mod_dir.c

DirectoryIndex index.html index.htm index.shtml index.cgi index.php
/IfModule

</blockquote>

Make sure to add index.php at the end.

(This is for apache)

7
yaoome
Re: "mywebsite"/xoop/index.php not working
  • 2004/11/16 3:59

  • yaoome

  • Just popping in

  • Posts: 2

  • Since: 2004/11/13


you must add "DirectoryIndex index.php" to your apache's httd.conf

Login

Who's Online

180 user(s) are online (125 user(s) are browsing Support Forums)


Members: 0


Guests: 180


more...

Donat-O-Meter

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

Latest GitHub Commits