Sim Posted February 9, 2012 Posted February 9, 2012 I just installed xammp and I can't get mod-rewrite to work. It just keeps saying all pages can't be displayed. And another problem is that my phpMyAdmin is in "German" and not english. Another problem , "lol" is that I can't find my cpanel to create a user for my DB... One last problem is that how I turn on php errors? :) Quote
bluegman991 Posted February 9, 2012 Posted February 9, 2012 Let me google that for you (First link Murfitt Blog) xampp has no security because it is not for a production server. It is a local development platform install, so you have to use the root user. In the main xampp directory, there is a file called readme_en.txt]/b] - Info is in there * PASSWORDS: 1) MySQL: User: root Password: (means no password!) As posted. You can indeed create your own mysql user in xampp. Xampp comes equipped with phpmyadmin. If you installed xampp with default settings then one or both of these links will take you to phpmyadmin.(link1 or link2) There will be a navigation bar at the top. (Containing buttons saying: Databases, Sql, Status, etc...) Click on the privileges button. On that page after it lists all the users there is a link that says "Add New User". Click that and that is how you create new users. Quote
bluegman991 Posted February 9, 2012 Posted February 9, 2012 Hold "ctrl + f" while on your privileges page then start typing "add a new user" and it should find it for you. Quote
Sim Posted February 9, 2012 Author Posted February 9, 2012 Thanks for all the help guys. I can't seem to get htaccess to work. I know its not my coding. It works fine on my domain but not on localhost. Quote
Sim Posted February 9, 2012 Author Posted February 9, 2012 my file as posted: here is my file: RewriteEngine On RewriteRule ^game/(.*)/admin/$ /gamefiles/admin/index.php?game=$1 [NC,L] RewriteRule ^(.*)/(.*)/(.*)/(.*)/(.*)/$ /gamefiles/index.php?game=$1&where=$2&action=$3&user=$4&code=$5 [NC,L] RewriteRule ^(.*)/(.*)/(.*)/(.*)/$ /gamefiles/index.php?game=$1&where=$2&action=$3&id=$4 [NC,L] RewriteRule ^(.*)/(.*)/(.*)/$ /gamefiles/index.php?game=$1&where=$2&action=$3 [NC,L] RewriteRule ^(.*)/(.*)/$ /gamefiles/index.php?game=$1&where=$2 [NC,L] RewriteRule ^(.*)/$ /gamefiles/index.php?game=$1 [NC,L] Quote
Spudinski Posted February 9, 2012 Posted February 9, 2012 here is my file: That's ugly. Rather tell us what you want to do, or what happens when you run Apache with that configuration. Quote
Sim Posted February 9, 2012 Author Posted February 9, 2012 It works on my web server (hostgator), but it doesn't work on my localhost using xammp. keeps saying unable to load file. Quote
Uridium Posted February 10, 2012 Posted February 10, 2012 few things i found when using windows 7 was http://localhost/phpmyadmin didnt always work so try using http://127.0.0.1/phpmyadmin/ this was also the case for calling created folder i had to use 127.0.0.1 hope that helps if not i'll endeavour to help out more.. Quote
Spudinski Posted February 10, 2012 Posted February 10, 2012 few things i found when using windows 7 was http://localhost/phpmyadmin didnt always work so try using http://127.0.0.1/phpmyadmin/ this was also the case for calling created folder i had to use 127.0.0.1 hope that helps if not i'll endeavour to help out more.. Or http://[::1]/phpmyadmin, if IPv6 is setup. Quote
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.