Posted by AstroDaz on January 21, 2013 at 10:35pm
Hi all
I have an ASUS Transformer T700 running Android 4. I have installed an app called KSWEB which has MySql, php5 and lighttp.
I have downloaded d7 and it installs fine, and i have exported my site database from my laptop and imported to the 'droid ok.
When i go to the localhost via the pad browser, the home page is served but anything else fails with a 404 error. If i use the '?q=' in the url, then the sub page loads. I cannot get it to work with clean urls.
There is only 1 site, no virtual hosts or anything like that.
Any help in working out a rule would be great!
Thanks
Daz
Comments
LUA script
I'm not an expert, just an experienced n00b. I did it for some time ago now, and clean url's was a bit of a googlebased quest game when using lighty. But it works fine!
I used a LUA script, and made lighttpd aware of it by insterting this string in ligghtpd.conf:
Drupal rules
magnet.attract-physical-path-to = ( "/etc/lighttpd/drupal.lua" )
I mainly used this tutorial: http://nordisch.org/2007/2/6/drupal-on-lighttpd-with-clean-urls where you willl find this LUA script: http://nordisch.org/drupal.lua
and it worked fine!
Hope it helps!
hmm
Somehow i triggered a spam filter.... so my corrections will not be accepted... Sorry for my typiGn and the string being present as a wiki article...
I need url clean
Exist a example or wiki for drupal 7 with lighttpd 1.4? Please
here's what i'm currently using
pasting lighttpd configs here doesn't always work, so here is my personal website with the lighttpd 1.4 config directives for drupal:
http://redigital.org/wp/sysadmin/lighttpd-1-4-php-5-4-drupal-clean-urls/