Closed Thread
Results 1 to 1 of 1

Thread: http digest authentication - Headers already sent?

  1. #1
    altrock182182 is offline x10Hosting Member altrock182182 is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    40

    http digest authentication - Headers already sent?

    Warning: Cannot modify header information - headers already sent by (output started at /home/altrock1/public_html/panel/index.php:12) in /home/altrock1/public_html/panel/secure.php on line 27

    index.php:
    Code:
     
    11: <h1>ADMINISTRATION PANEL</h1>';
    12: <?   require('secure.php');
    secure.php:
    Code:
     
    I copied it from here:
    http://www.php.net/features.http-auth Example 34.2
    and modified only the users/passwords.

    It seems like x10's configuration is somehow sending an authentication header right at the start of any PHP... Does anyone know anything about this?

    I'm assuming I might just have to do a .htaccess but I'd rather do it this way if I can. Any suggestions/legal workarounds?
    Edit:
    FIXED - There was a conflict with the Frontpage .htaccess files.

    It was grabbing the .htaccess from one level up instead of ignoring it like i thought it would.

    Made a .htaccess file through cpanel, and rermoved my script.
    Last edited by altrock182182; 11-18-2007 at 04:37 PM. Reason: Automerged Doublepost

Closed Thread

Similar Threads

  1. Cossacks HTTP Failure
    By TheJeffsta in forum Free Hosting
    Replies: 5
    Last Post: 09-05-2007, 04:00 AM
  2. Teh HTTP is down
    By nol888 in forum Free Hosting
    Replies: 9
    Last Post: 01-10-2007, 07:03 PM
  3. HTTP: Offline ???
    By waster in forum Free Hosting
    Replies: 5
    Last Post: 08-30-2006, 03:50 PM
  4. Http
    By Bryon in forum Service Alerts
    Replies: 5
    Last Post: 05-29-2006, 08:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers