| | |
Need some help with .htaccess rediret...
![]() |
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
Any help with this would be appreciated
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
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
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
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
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 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
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
![]() |
Similar Threads
- Disable access to .htaccess (Linux Servers and Apache)
- .htaccess mod_rewrite problem (Linux Servers and Apache)
Other Threads in the Linux Servers and Apache Forum
- Previous Thread: Redirecting a Directory or page...
- Next Thread: INTERNAL Webserver help....
| Thread Tools | Search this Thread |
apache apple asus bbc bluegene centos cisco citrix cloud cloudcomputing debian dell desktops development distributions distros drivers economy eeepc energy enterprise fedora fsf gadgets gentoo gos government gpl hardware hp hyper-v ibm java jobs kindle knoppix kvm laptop laptops lawsuits ldap licensing limo linustorvalds linux linuxfoundation linuxmagazine magazines microsoft mobile mobilephones netbook netbooks news novell olpc open openmoko openoffice opensolaris opensource opensuse openvz operatingsystems os patents pc pcworld plathome politics print qumranet redhat rhel robot russia sco server servers slackware software solaris source stallman sun supercomputer support tivo torvalds training tv ubuntu umpc unix virtualization vmware windows x86 xandros xen






