September 05, 2008, 10:48:48 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Check your Page Rank, Backlinks, or Link Popularity in our tools section.
 
  Home   Forum   Help Search Directory Calendar Login Register    RSS 2.0 feedAtom feed


News
Check your Page Rank, Backlinks, or Link Popularity in our tools section.
Pages: [1]
  Print  
Author Topic:

Pages won't open without full extension

 (Read 1407 times)
0 Members and 1 Guest are viewing this topic.
colm
Jr. Member
**

Points: 1
Offline Offline

Posts: 38



WWW
« on: June 22, 2006, 18:01:46 »

On my site my forum won't load unless the full url is entered..
my forums are located @  www.alarmshelp.com/forum

If I enter this I get a blank page
I have a test forum @ /forumtest if I enter this i get page not found...

The pages not related to my forums are fine..
Any ideas??
Logged



TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #1 on: June 22, 2006, 18:10:27 »

OK. You have there a empty index.html page: just remove this page from /forum/ folder or modify your apache configuration to get first index.php page.

Regards

Logged

colm
Jr. Member
**

Points: 1
Offline Offline

Posts: 38



WWW
« Reply #2 on: June 22, 2006, 19:01:18 »

Ok I found the empty html file.
Now I get page missing if index.php is not entered...
can I configure the .htaccess file to go straight to index.php on these foldes , but still go straight to index.html in the root
Logged

TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #3 on: June 22, 2006, 19:18:51 »

Add this in you htaccess file :

Code:
DirectoryIndex home.html index.htm index.html index.php
Logged

xulescu
Moderator
Full Member
*****

Points: 8
Offline Offline

Posts: 245


WWW
« Reply #4 on: June 22, 2006, 19:35:36 »

Or try to find DirectoryIndex Keyword in you apache.conf or httpd.conf and add index.php in his "tail"

Logged

TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #5 on: June 22, 2006, 19:41:54 »

Or try to find DirectoryIndex Keyword in you apache.conf or httpd.conf and add index.php in his "tail"

I think is on a hosted server ... so he need to use htaccess file

Regards
Logged

colm
Jr. Member
**

Points: 1
Offline Offline

Posts: 38



WWW
« Reply #6 on: June 22, 2006, 21:01:52 »

Add this in you htaccess file :

Code:
DirectoryIndex home.html index.htm index.html index.php

Yes its on a hosted server...
Anywhere in particular th add that line?
Thanks for all the responses, very much appriciated 
Logged

TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #7 on: June 22, 2006, 21:05:41 »

You can add to you end of your .htaccess file.

You are always welcome here Smiley

Regards
Logged

colm
Jr. Member
**

Points: 1
Offline Offline

Posts: 38



WWW
« Reply #8 on: June 23, 2006, 00:02:02 »

That worked
Thanks again.. Smiley
Logged

colm
Jr. Member
**

Points: 1
Offline Offline

Posts: 38



WWW
« Reply #9 on: June 24, 2006, 15:16:56 »

Sorry to say I still have one small problem with this..
if I enter my basic url  (www.alarmshelp.com) it goes to index.php  not the html page...
If I enter /index it goes to index.html
 Any way around this?

Thanks again
Logged

TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #10 on: June 24, 2006, 20:08:46 »

Change the order of index.html in DirectoryIndex directive. Try to put it first

Regards
Logged

colm
Jr. Member
**

Points: 1
Offline Offline

Posts: 38



WWW
« Reply #11 on: June 24, 2006, 21:26:51 »

I'm confused
I have taken that line out altogether but still it open index.php first
And the other problem is gone..Pages with out index at the end are also opening
My .htaccess file

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.alarmshelp.com/index.html
AuthUserFile /var/chroot/home/content/c/o/l/*******/html/_vti_pvt/service.pwd
AuthGroupFile /var/chroot/home/content/c/o/l/*******/html/_vti_pvt/service.grp


Any help please!
Logged

TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #12 on: June 24, 2006, 21:39:40 »

Just add on top of your .htaccess file

DirectoryIndex index.html

Regards
Logged

colm
Jr. Member
**

Points: 1
Offline Offline

Posts: 38



WWW
« Reply #13 on: June 24, 2006, 21:51:08 »

Thanks.. I put it at the bottom the first time
Great site BTW

I owe ya!   Grin Grin Grin
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks

TinyPortal v0.9.7 © Bloc
Valid XHTML 1.0! Valid CSS!