Page 2 of 2 FirstFirst 12
Results 16 to 30 of 30

Thread: lighttp and php tutorial

  1. #16

    Thumbs up

    Hi..

    i've solved the problem (at least my case)

    I've set register_globals to on in php.ini
    restarted webserver.
    and the sessions worked.

    now the cms allows me to log in.

  2. #17
    Quote Originally Posted by raas View Post
    Hi..

    i've solved the problem (at least my case)

    I've set register_globals to on in php.ini
    restarted webserver.
    and the sessions worked.

    now the cms allows me to log in.
    that's bad cms that works only with register_globals=on
    Hardware: WL-500gp 1.9.2.7-7g + powered USB hub (WD Passport 120GB) + USB HP LazerJet 1010
    Software: transmission (BT-client) by wengie's manual + russian names fixing script | http/ftp download with web-interface ADOS by DINI (uninstalled) | rsnapshot - incremental backup utility using rsync (english, ðóññêèé) (uninstalled) | lighttpd (uninstalled) |samba2

  3. #18
    Join Date
    Apr 2005
    Location
    Vienna, Austria
    Posts
    191
    Quote Originally Posted by raas View Post
    Hi..

    i've solved the problem (at least my case)

    I've set register_globals to on in php.ini
    restarted webserver.
    and the sessions worked.

    now the cms allows me to log in.
    Enabling register_globals is a serious security threat to every web site.
    Don't do that.

    There are various exploits based on having register_globals on.

  4. #19
    I installed lighttpd some days ago and it works fine on my asus wl 500g but now I tried to add the php-fcgi extension.

    Installation runs fine but while I am starting the server I get get a php error concerning the libiconv.so.2 file. Looking for solutions I found to install the ipkg package libiconv but this one is no more available. So what to do? I tried everything but how to get this file?

    Thanks

  5. #20
    Quote Originally Posted by MMCM View Post
    Enabling register_globals is a serious security threat to every web site.
    Don't do that.

    There are various exploits based on having register_globals on.
    Ok... didn't know that.. more of a M$ person here..

    Is there another way to get the session variables working?

    TIA

  6. #21
    Quote Originally Posted by raas View Post
    Ok... didn't know that.. more of a M$ person here..

    Is there another way to get the session variables working?

    TIA
    As i wrote - take another CMS. modx for example, or typo3, nx-system etc.
    Hardware: WL-500gp 1.9.2.7-7g + powered USB hub (WD Passport 120GB) + USB HP LazerJet 1010
    Software: transmission (BT-client) by wengie's manual + russian names fixing script | http/ftp download with web-interface ADOS by DINI (uninstalled) | rsnapshot - incremental backup utility using rsync (english, ðóññêèé) (uninstalled) | lighttpd (uninstalled) |samba2

  7. #22
    @Aramaki,


    ok.. thank you.. I will look into that !
    (I hope they perform as good as the one I have now)

    Anyway.

    Thank you all for the heads-up !!
    (I thought I was learning linux a bit and was quite happy when I 'solved' the problem and got the CMS running.. However.. I have not realised the security threats which came along, but that's why you gurus are here.. many thanks again.)

  8. #23
    Quote Originally Posted by raas View Post
    @Aramaki,
    ok.. thank you.. I will look into that !
    (I hope they perform as good as the one I have now)
    these 3 are the best from opensource (freeware). IMHO. But I chose modx

    And they ALL need some stuff to learn - it's not a 5 minute tutorial to get all power from it.

    typo3 is too complex for user and irrational for programmer

    nx is very nice but updates not very frequently and has some inconvenient points
    Last edited by Aramaki; 06-11-2007 at 16:58.
    Hardware: WL-500gp 1.9.2.7-7g + powered USB hub (WD Passport 120GB) + USB HP LazerJet 1010
    Software: transmission (BT-client) by wengie's manual + russian names fixing script | http/ftp download with web-interface ADOS by DINI (uninstalled) | rsnapshot - incremental backup utility using rsync (english, ðóññêèé) (uninstalled) | lighttpd (uninstalled) |samba2

  9. #24

    php segmentation fault

    I followed the tutorial and ran into a problem.

    Code:
    >> php -v
    Segmentation fault
    Similarly for php-fcgi

    Admittedly it worked right after I installed it, but stopped working after a reboot.


    using PHP version 5.2.4-1 from Olegs repo.

    Anyone remedy this problem somehow?

  10. #25

    Problem...

    mine problem is with the starting of php...

    when i try to start it this it what appears:

    Cannot bind/listen socket - [125] Address already in use.
    Couldn't create FastCGI listen socket on port 1026


    Can anybody help me?
    Last edited by freakazoid; 26-11-2007 at 09:02.

  11. #26
    @Aramiki


    I've installed MODx and corrected the faulty setting of register_globals ..

    Everything works fine.

    btw.. MODx is a much nicer CMS than I had currently installed, so I'm very happy, thanks again.

    Greetz,

  12. #27
    Hi,

    I'm having a problem with the modx install on my asus.
    the website is running fine, can make pages etc. but,

    if i create a link in a page to /Foto (a dir which has dir browsing on after a login) the link is saved wrong.

    depends on which side of the network I am.
    If I'm on my internal network the link is: http://192.168.1.1:8082/Foto

    but when I connect externally and I want to click the link it still says: http://192.168.1.1:8082/Foto instead of: http://my.dns.com/Foto

    If I then edit the link externally again to /Foto and save the page, all is ok as long as I stay externally, but when I'm on my internal network again, and open the webserver and want to click the foto link it says: http://my.dns.com/Foto instead of: http://192.168.1.1:8082/Foto

    So my guess is that somehow the http_referer is somehow copied to links beginning with an / to the server.

    I don't really know if it's modx or php, I was experiencing the same behaviour with my previous cms.


    Does anyone have a clue where to look?

    Thanks in advance !

  13. #28

    Preoblem

    Hi,

    first, thank you for the tutorial...
    and now ive uninstalled the php and tried to reinstall it again, using the same method. it all works fine except when i try to run it it states:

    [admin@(none) init.d]$ ./S45php start
    [admin@(none) init.d]$ ./S45php: ./S45php: 17: /opt/bin/php-fcgi: not found

    i dont know why does it says that because the file is there! and the "S45php" file is copyed from your tutorial.

    ps:when i was reinstaling it, i dont think i removed it completely... i used "ipkg remove php and php-fcgi" command. dont know if thats enough...

    cheers

  14. #29
    Hi,

    My answer to my own question about modxcms (a very nice cms!).:

    I''ve ditched the whole idea about running modx on my asus.

    I couldn't resolve the problem I was having with the internal and external links.

    I tracked the problem down to the 'base href' which modx creates in it's generated html output, if it wasn't for this base href, modx would be a 'near perfect' system. but I couldn't get the base href out of modx.

    That's why I've switched to AIOCP (www.aiocp.com)

    This one works on the internal side of the network, as well as on the external side of the network.

    It's more than I needed, (it's more like a website management system), but it does what I want it to do.

  15. #30
    Hi, I have installed PHP and lighttpd.

    I moved my web site from the Hosting site to my WL500gP...

    As the result the feedback form PHP script (shown below) does not work...-

    http://www.thesitewizard.com/wizards/

    Any idea why?

    Thanks.
    Last edited by piezomotor; 30-01-2008 at 18:10.

Page 2 of 2 FirstFirst 12

Posting Permissions

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