Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: @Proxy Script Issue

  1. #1

    Smile @Proxy Script Issue

    I have installed the @proxy script on my site. When I access the site, I get a pop-up that says this;

    You have chosen to open

    which is a: application/x-httpd-php5
    from: http://mywebsite.com

    What should Firefox do with this file?

    • Open with ...
    • DownThemAll!
    • Save File

    Does anyone know what is wrong? Why is it telling me download a file?

    Thanks

  2. #2
    Can you copy and paste what you have in your .htaccess file? It is to do with the line that makes .js work with PHP.
    Programmer, web developer and entrepreneur.

  3. #3
    This is what I have in my .htaccess file

    PHP Code:
    AddHandler application/x-httpd-php .php .js
    ErrorDocument 404 
    /

    # Fix USG hell
    RewriteBase /
    RewriteRule (.*)&usg=(.*)$ $[R=301

  4. #4
    Try this:
    Code:
    RemoveHandler .js
    AddType application/x-httpd-php .php .js
    
    Instead of

    Code:
    AddHandler application/x-httpd-php .php .js
    Programmer, web developer and entrepreneur.

  5. #5
    If that fix helps, than it's fine. I guess I did this last time when I installed the script:
    Code:
    AddHandler application/x-httpd-php5 .php .js
    ErrorDocument 404 /
    But if it works like Nathan says, don't even read my post
    |Nico Lawsons

  6. #6
    Even i had the same issue .. it was resolved by changing permission to 664

  7. #7
    Quote Originally Posted by Aquarezz View Post
    If that fix helps, than it's fine. I guess I did this last time when I installed the script:
    Code:
    AddHandler application/x-httpd-php5 .php .js
    ErrorDocument 404 /
    But if it works like Nathan says, don't even read my post
    That sort of fixed it. I still get the error when I go to my site with www.mydomain.com. However, if I go to my site with mydomain.com, it works fine.

    Thanks

    Users currently have to register to add proxies. How can I disable it?

  8. #8
    You can disable it from admin.php

  9. #9
    Quote Originally Posted by weirdnessme View Post
    You can disable it from admin.php
    I could not find an option for that. Where exactly is it?

  10. #10
    Quote Originally Posted by 5starpix View Post
    I could not find an option for that. Where exactly is it?
    I don't think there is an option for that, if there is I certainly couldn't find it and I wasted my time rewriting the submit proxy page for my @proxy based site.

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 1 April, 2010, 14:51 PM
  2. Replies: 2
    Last Post: 10 December, 2009, 18:25 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •