SirChick Posted July 31, 2007 Share Posted July 31, 2007 I have edited my config for apache to get the server root working but no matter what i do it wont load the .php file :S Unless im getting the url wrong, i can't understand why it will not work. Although i have noticed in apache the details show the root still hasn't changed to the C:/xampp/apache/register.php it still says the default C:/xampp/apache It also hasn't changed the admin email in the config even though i have loaded it up and checked if i had saved and i have! Is there something i might have missed out? I don't understand why it wont update or read the changed config. I tried to press stop in xampp's control panel to stop and re-start apache but i get error -1 Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted July 31, 2007 Share Posted July 31, 2007 What are you trying to do? Apache should not need configuring as it is already configured when you install Xampp. By default you save your php files in C:/xampp/htdocs Quote Link to comment Share on other sites More sharing options...
SirChick Posted July 31, 2007 Author Share Posted July 31, 2007 You when an error occurs and it says contact an admin to alert them of this problem i want to have my email by default not admin@localhost.com Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted July 31, 2007 Share Posted July 31, 2007 You can change that by editing the ServerAdmin directive which is located around line 137 in the httpd.conf Quote Link to comment Share on other sites More sharing options...
SirChick Posted July 31, 2007 Author Share Posted July 31, 2007 yeh i have on line 160 , but it still doesnt change to my email :S Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted July 31, 2007 Share Posted July 31, 2007 You have restarted xampp after making the change? Also make sure you are editing the http.conf file in xampp/apache/conf/ Another suggestion is make sure there is not an # symbol in front of the line you are editing. Apache will ignore lines that begin with # symbols these lines will be classed as comments. You must remove the # from the beginning of the line in order for Apache to read that line. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.