I have been playing with the page design for one of the pages generated automatically from my attached database. Unfortunately, I have managed to make a bit of a mess if it and I'd like to simply regenerate it as the original default. Is this possible?
Application Entry Point (Index.php) Mod_Rewrite (.htaccess)
By default Apache server has mod_rewrite enabled, if not mod_rewrite needs to be enabled.
The .htaccess contains the rules for the mod_rewrite which direct all request to the index page except if the request is an actual file or a directory.()
I found this website for the details of what to amend:
Hi, I'm just starting off on a trial of the PHPrad solution and I cannot seem to preview the published php pages based on two simple master/detail tables. I get the start page "http://localhost/phptest/" but whenever I click on the link representing the master table "localhost/phptest/phpmaster" I get a 404 error
I am running on microsoft windows10 with Apache24 web server, Mysql database 8.0 and php 7.4.5. I installed these separately before I found the PHPRAD solution and saw this advice:
"You should make sure you have one of the following localhost servers running on your computer, for example: Xampp, Wampp, Mampp, Lampp or any preferable localhost servers"
I have set the default project directory as C:\Apache24\htdocs\phptest and the default site address as http://localhost/phptest
Please point me in the right direction if you can.
Thanks, JP
A quick update...I found issue. I needed to set the mod_rewrite on for apache 2.4.