Need some help with .htaccess rediret...

Reply

Join Date: Jun 2005
Posts: 238
Reputation: Lightninghawk is an unknown quantity at this point 
Solved Threads: 6
Lightninghawk's Avatar
Lightninghawk Lightninghawk is offline Offline
Posting Whiz in Training

Need some help with .htaccess rediret...

 
0
  #1
Oct 6th, 2005
Ok so here's the thing I have a site with the directory /forum/

If you go to that directory it shows a directory listing. This is not something that I want. The reason for this directory showing though is because the index page is .php.

I was told that I could use a .htaccess file to change the DirectoryIndex choice to .php, but I was also told that I could use a redirect.

I have tried both. Last night I was told that I needed to do something with/to the server because my site uses a .net domain. Is this true has? does anyone else know anything about this?

All I want this file to do is take www-mysite-/forum to www-mysite/forum/index.php

These are 2 of the different variations that I have tried.
But neither of these or anyother .htaccess worked

 DiretoryIndex index.php
 Redirect /forum htt://mysite/forum/index.php

Any help with this would be appreciated
+_-¤ ŦĦễ £ﺄiĢĦŧňĨňĢĦǻщk ¤-_+
South Georgia Computers - Home and Office IT Solutions - Owner/Tech
Need the BEST software for Virus/Spyware Removal? Download - AVG Free -

Computer Problems? Forget the GeeK Squad use something better: DaniWeb
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: Need some help with .htaccess rediret...

 
0
  #2
Oct 6th, 2005
I moved this thread; it's not a JavaScript programming question. I think you'll get better responses in the Server Configuration forum.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 238
Reputation: Lightninghawk is an unknown quantity at this point 
Solved Threads: 6
Lightninghawk's Avatar
Lightninghawk Lightninghawk is offline Offline
Posting Whiz in Training

Re: Need some help with .htaccess rediret...

 
0
  #3
Oct 6th, 2005
Thanks. I wasn't quite sure where to put it. But I figured it would fit in with the HTML and all the other somewhere, but thanks
+_-¤ ŦĦễ £ﺄiĢĦŧňĨňĢĦǻщk ¤-_+
South Georgia Computers - Home and Office IT Solutions - Owner/Tech
Need the BEST software for Virus/Spyware Removal? Download - AVG Free -

Computer Problems? Forget the GeeK Squad use something better: DaniWeb
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 238
Reputation: Lightninghawk is an unknown quantity at this point 
Solved Threads: 6
Lightninghawk's Avatar
Lightninghawk Lightninghawk is offline Offline
Posting Whiz in Training

Re: Need some help with .htaccess rediret...

 
0
  #4
Oct 7th, 2005
ok.. guys you can forget .htaccess

I have a small HTML file that you will like to view

At this Topic I posted on an easy way to hide a directory or redirect from a directory or old page.
+_-¤ ŦĦễ £ﺄiĢĦŧňĨňĢĦǻщk ¤-_+
South Georgia Computers - Home and Office IT Solutions - Owner/Tech
Need the BEST software for Virus/Spyware Removal? Download - AVG Free -

Computer Problems? Forget the GeeK Squad use something better: DaniWeb
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Linux Servers and Apache Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC