ISPConfig .js files not supported?!

Discussion in 'Installation/Configuration' started by fatum112, Oct 28, 2006.

  1. fatum112

    fatum112 New Member

    Hi,

    I installed ISPconfig panel on a ubuntu server mashine, now my .js (javascript) files aren't working anymore...

    if i try to open it trough the brower it gives me a java error,
    second to that, when i type in the browser the .js file i can even download it!

    how can i fix this big problem?

    i checked the application/x-java, it's there..

    don't know what's cousing this, but it has something to do with ISPConfig
    (previouse i have had VHCS, and it was all working fine)

    Thanks already..
    Marco
     
  2. statiic

    statiic New Member

    You can always download an .js file when you type in its exact link.
    It automaticly downloads the .js file :)

    And if you .js aint working, maybe you should check your browser settings or did you installed the latest java desktop envirenoment??
     
  3. fatum112

    fatum112 New Member

    hi,

    thanks for the reply,

    but the script should be working, it is on a other server..
    (exactly the same) it even works on your local desktop..

    i checked everything i could find out..
    but nothing seems to be wrong, besides it won't display..
    it displays everywhere.. besides on my server..
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    As static posted, this problem is not related to ISPConfig. Javascript is a client side scripting technology and not a server side script. Do you get the correct HTML page when you open it in a browser?
     
  5. fatum112

    fatum112 New Member

    Hi,

    I figured out the problem..
    it seems that my ubuntu o/s did have some problems with my .js script

    for some reason my script totally crashes when i use a é or ë
    (notice the ' and " above the e.. )
    got any idea why it does this?
    does it has to do with fonts, or something else?
    (i just got the newest Ubuntu server.. followed the manual "The perfect Setup", etc)

    Regards,
    Marco
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The latest ubuntu versions assume that your content is UTF-8 encoded.

    Add this line to your apache2.conf file:

    To switch the characterset to western europe encoding.
     

Share This Page