Jump to content
Larry Ullman's Book Forums

Administrative Pages


Recommended Posts

Hello. First of all, thank you for your book, it's really great. The second project done already but I still have a payment system, I left it at the end. I'm Polish and I'm sorry for my English. I bought your book in Poland. And unfortunately for any help from publishers, I can't count. So I'm writing here. I have a problem with the administrative pages. Admin page does not appear, I get an error message: "Website is not available" screen below:

 

www.picshot.pl/public/view/full/213960

 

I don't know what to do, for five days I want to fix it but I can not all the same. I use "apache_2.2.11-win32-x86-no_ssl", "mysql-essential-5.1.56-win32 ',' php-5.2.2-Win32".

 

I thought it should "Apache no_ssl" and file "htaccess" I deleted my line

 

"RewriteCond% {HTTPS} off

RewriteRule ^ (checkout \. Php | billing \. Php | final \. Php | admin / (. *)) $ Https://% {HTTP_HOST} / $ 1 [R = 301, L] "

 

But it did't help. I'm doing this project in order to learn something at this stage so I can bypass the security. I think that my code is good, I checked it many times but I could be wrong. I don't know where the problem is. I sincerely request Mr. Larry, Can you see my code? If you have time, of course. Below I include a link to download my site:

 

 

 

Regards Dawid

Link to comment
Share on other sites

No, I'm not going to look at your entire site of code. That's not a reasonable request. If you're getting a "Website not available" error, the problem is with the configuration of your Web server. I suspect it's because SSL isn't properly configured. Can you access the admin pages via http?

Link to comment
Share on other sites

Ok I understand, I apologize for the inappropriate request. I was a little irritated, and can therefore asked you to do so. I can't access to the admin pages over HTTP. After typing in the browser "http://localhost/admin/index.php" automatically turns me on "https" and I get "Website not available".

 

I'll try to install "apache_2.2.11-win32-x86-openssl-0.9.8i" and do it all over again. Thanks for the quick reply.

Link to comment
Share on other sites

You can reinstall that if you want, but I suspect a problem is in your .htaccess file. It's redirecting you to https and your https seems to be misconfigured. I would start by getting to the admin directory via HTTP to confirm that works and try getting ANY page to load over HTTPS. Once those two things are in place, you can go back to forcing HTTPS for the admin dir.

Link to comment
Share on other sites

Larry thank you very much for your interest in the case, and that you spent your precious time on my problem. I installed "apache_2.2.11-win32-x86-openssl-0.9.8i" and the problem disappeared. What a joy overwhelmed me when after 5 days of fighting with this problem I saw a administrative pages. Thanks Larry for a very helpful book and I'm sorry for my English.

All the best, David.

Link to comment
Share on other sites

I rejoiced too soon :/, I installed "apache_2.2.11-win32-x86-openssl-0.9.8i" and run the page without database filled the main page and administrative pages appeared, and then I thought I was glad that the problem disappeared and I wrote here. Hehe when I filled out the database here we go again. Now I really don't know what to do. Do you have any idea?

 

Very rarely speak English, and there still such a compliment from an important person. Thank you.

Link to comment
Share on other sites

I would start with what I previously said: I suspect a problem is in your .htaccess file. It's redirecting you to https and your https seems to be misconfigured. I would start by getting to the admin directory via HTTP to confirm that works and try getting ANY page to load over HTTPS. Once those two things are in place, you can go back to forcing HTTPS for the admin dir.

Link to comment
Share on other sites

 Share

×
×
  • Create New...