1
rkanyama
Links in the Main menu pointing to directory instead of the .PHP file.
  • 2004/4/21 22:32

  • rkanyama

  • Just popping in

  • Posts: 3

  • Since: 2004/4/21


Hello all. I've been working with XOOPS for a few days and almost have everything set, however there is one thing holding me back. In the Main menu, I have links to news, photos, etc. and instead of going to the actual index.php in the correct directory,it instead points to the directory itself. There I can simply click on the index.php file and it loads the page. It is as if it just fall short and stops at the directory level like an FTP program would.

Can anyone help me out a little?

Thanks! >^_^<

-Ron

2
Dave_L
Re: Links in the Main menu pointing to directory instead of the .PHP file.
  • 2004/4/21 22:39

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


It sounds like your server is not configured to recognize index.php. You may be able to fix that with an .htaccess file in your web document root:

DirectoryIndex index.php index.html index.htm

3
rkanyama
Re: Links in the Main menu pointing to directory instead of the .PHP file.
  • 2004/4/22 3:53

  • rkanyama

  • Just popping in

  • Posts: 3

  • Since: 2004/4/21


Quote:

Dave_L wrote:
It sounds like your server is not configured to recognize index.php. You may be able to fix that with an .htaccess file in your web document root:

DirectoryIndex index.php index.html index.htm


Ah, I'll try that. Thanks! So should this file be an html file, txt, etc.? Sorry, I'm really new to all of this. I'm shocked that I made it this far...

-Ron

4
rkanyama
Re: Links in the Main menu pointing to directory instead of the .PHP file.
  • 2004/4/22 4:06

  • rkanyama

  • Just popping in

  • Posts: 3

  • Since: 2004/4/21


Nevermind. I did a search for how to do it, and IT WORKED!!
Thanks for the help Dave_L!

For anyone else who may be lost with this problem;

1)Simply create a .txt file using something like notepad or some other text editing software.

2)Enter the information that Dave_L provided:

DirectoryIndex index.php index.html index.htm

Note: You'll have to leave it as htaccess.txt since Windows will not let you name it as needed by the server.

Upload it via an FTP program. I used CuteFTP, and then once it was on my site in the root directory, I renamed it to .htaccess

And now I'm happy! >^_^<

Once again, thanks Dave_L


5
Dave_L
Re: Links in the Main menu pointing to directory instead of the .PHP file.
  • 2004/4/22 7:55

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


You're welcome

Login

Who's Online

352 user(s) are online (273 user(s) are browsing Support Forums)


Members: 0


Guests: 352


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