Timeline for RewriteEngine On showing Apache test page
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 8, 2017 at 5:24 | comment | added | Cain Nuke | Help please????? | |
May 4, 2017 at 3:18 | comment | added | Cain Nuke | I guess the page is inside the apache installation directory but I dont know. | |
May 3, 2017 at 23:33 | comment | added | MrWhite |
Something's a bit funny... there really shouldn't be any difference between example.com/ and example.com/index.php , regardless of whether this .htaccess file is present or not? Presumably you don't rely on directory indexes? It might offer a clue if you can find where the "Apache test page" is coming from?
|
|
May 3, 2017 at 22:08 | comment | added | Cain Nuke | I tried but it didnt do anything. The test page wont appear if I remove the htaccess file indeed but I need it to display the URLs the way I want. | |
May 3, 2017 at 9:33 | comment | added | MrWhite |
Try adding DirectoryIndex index.php at the top of your .htaccess file. It seems like there is "something else" going on here? From your question on ServerFault you said that it works OK (but with "ugly" URLs) when you remove the .htaccess file? Is that correct?
|
|
May 2, 2017 at 23:28 | comment | added | Cain Nuke | No, all urls will give me a forbidden page except example.com which shows the apache test page. | |
May 1, 2017 at 9:05 | comment | added | MrWhite |
Curious, example.com/index.php gives you a "forbidden page" (403?), but example.com/index.php?user=222 routes OK? Or is that only when the .htaccess directives are temporarily removed? (Although, if you access example.com/index.php or example.com/index.php?user=222 it really shouldn't matter whether this .htaccess file exists or not - since those directive won't do anything if you access /index.php directly - assuming this is a physical file. ???)
|
|
May 1, 2017 at 5:24 | comment | added | Cain Nuke | No, I have only that htaccess. example.com/index.php gives me a forbidden page and user is not a subdirectory. | |
Apr 30, 2017 at 9:33 | history | edited | MrWhite | CC BY-SA 3.0 |
Added note that answer is out of date - for reference only.
|
Apr 30, 2017 at 8:35 | comment | added | MrWhite |
Ah OK, that completely changes things. Do you have any other .htaccess files along the filesystem path? What do you get if you simply request example.com/index.php (example.com being your parked domain)? Presumably /user is not a physical subdirectory? Are you externally redirected to the "Apache test page"??
|
|
Apr 30, 2017 at 5:03 | comment | added | Cain Nuke | the url is example.com without the forum because the parked domain is pointing to forum so forum is the root directory of that domain. That apache page I dont know where it is. | |
Apr 29, 2017 at 21:18 | history | edited | MrWhite | CC BY-SA 3.0 |
Grammar, some corrections.
|
Apr 29, 2017 at 19:01 | history | answered | MrWhite | CC BY-SA 3.0 |