PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 03-19-2004, 10:44 AM   #1
ronyotz
Green Mole
 
Join Date: Mar 2004
Posts: 4
viewing admin/index.php...

Hi I installed phpdig on a IIS server and everything was working fine until i tried to view admin/index.php in my browser.
Everytime i load the page i get a prompt window that asks for a username and password, usually I dont have any user defined cause im only testing the thing localy, i even tried to create a username and password and used those but still didnt work.
I really dont know what else to do, maybe someone out there can help
I have a windows xp OS and IIS 5.1 server.
Thanks.
ronyotz is offline   Reply With Quote
Old 03-19-2004, 07:40 PM   #2
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
This thread will help explain the problem, but unfortunately doesn't solve it. IIS has a problem in that the server authentication method that phpdig uses is not supported under IIS.

What is needed, I think, is an authentication method which compares a user supplied username and password to a database username and password to authenticate. At least for an IIS server, although it would work for Linux/Apache servers, too.

I have a work around myself. Not the best solution, but it works. I change this line in config.php:
PHP Code:
define('PHPDIG_ADM_AUTH','1'); 
to:
PHP Code:
define('PHPDIG_ADM_AUTH','0'); 
which turns off server authentication so I can get to the admin panel. When I'm done, I switch that statement back to what it was originally. That's the only way I've found so far that still allows you into the admin panel and still protects you from unauthorized access to it.
vinyl-junkie is offline   Reply With Quote
Old 03-23-2004, 10:31 AM   #3
ronyotz
Green Mole
 
Join Date: Mar 2004
Posts: 4
thanks for the previous help!
saddly i still have problems...
now i can view admin.php, but when i try to index my site, i get a
cgi script timeout message, how about that....

i have a IIS server and windows xp OS,
i appreciate any help
thanks.
ronyotz is offline   Reply With Quote
Old 03-24-2004, 05:33 AM   #4
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
No guarantees that this will work, but try re-spidering your site. Make sure you clear all the phpdig database tables first, and that the LIMIT_DAYS variable is set so that you can re-spider before you try again.

Spidering a website which is on a Windows server is *very* touchy, but with patience you should be successful.

Hope this helps.
vinyl-junkie is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forgot login/password for admin/index.php FelixH Troubleshooting 1 12-17-2006 12:36 PM
Fatal error: Cannot unset string offsets in /admin/robot_functions.php on line 833 Headie Troubleshooting 0 08-23-2006 06:09 AM
Can't sign in to admin/install.php lala1973nc Script Installation 7 09-09-2005 04:30 PM
Admin approval for spider to index external URLs jerrywin5 Mod Requests 0 03-29-2004 10:37 PM


All times are GMT -8. The time now is 09:40 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.