kohana 3.3 lighttpd (Palapa WEB server) on tabletpc with Android

Could someone help me with lighttpd.config ? I tried to start my web project with Kohana-3.3 PHP framework on an Android 4.4.2 tablet PC, but after some days I have just started framework and it begins to work, but my CSS files are still unavailable.

So, I installed Palapa web server and inserted one line into the default lighthttpsd.config file:

url.rewrite-once = ("^/kohana/(.*)$" => "kohana/index.php/$1")

After that the framework began to work.
Links like: "http://127.0.0.1/kohana" and "http://127.0.0.1/kohana/welcome/index" work perfectly, but I have an unavailable CSS file and I surmise... js too.
On debug I tried top open some of the CSS files - but Kohana gives me this error:

HTTP_Exception_404 [ 404 ]: Unable to find a route to match the URI: assets/js/default/jquery-ui-1.11.4.custom/jquery-ui.css

...seems I have to rewrite any subfolder or files containing css,files,tmp or js in it's url back to the webroot, but "(css|files|img|js)/(.*)" => "/$1/$2" does not works for me

How can I solve this?

Category:php Views:5 Time:2019-01-04

Related post

  • IIS hosting vs Built In Web server that ships with VS 2010 2010-05-28

    I am looking to host a wcf service while i am developing. Is this best with IIS or can i just use the default BUILT IN web server that ships with Visual Studio? I can change the Assign automatic port to specific port so in my client i always ahave a

  • how to find location by sending an sms to a specific number linked with a web server or to an android app? 2011-11-11

    I am going to make an application in which I want to get the user location through sms i.e a person sends an sms to a specific number linked with a web server or to an android app and from that sms I want to find his/her location. This should be done

  • Detecting ajax request with PHP on Lighttpd a web server 2010-09-25

    I'm having some trouble with detecting a jQuery ajax request with PHP on a Lighttpd web server. Here's the following code (works fine on MAMP and Apache): if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_W

  • Making web server in C with native scripting support 2010-04-11

    I'm an intermediate C developer, trying to get better. I want to make a very basic and lightweight HTTP server with its own scripting language. Could I use something like Lua for scripting? If not, what? I don't want to use CGI/FastCGI like Apache do

  • Including an embedded web server - possible issues with deployment 2009-07-28

    While analyzing some approaches to making our web app easier to deploy on our customers' sites, one of the suggestions was to include an embeddable web server to save the customer from needing to configure/install Apache/IIS. What are some drawbacks

  • View local web server on Mac with computer name, not IP 2011-08-26

    I have MAMP installed on my Mac with OS X 10.6. This computer's name is chocolate. If I want to view pages on chocolate with chocolate, in the address bar of a browser I can type localhost/. If I want to view pages on chocolate from another Mac or an

  • ASP.NET web server having issues with HTTPS - Chrome Only 2011-10-12

    Okay, so at my work we are moving the SSL Termination from the web server to the load balancer. The load balancer then passes the request on to the server with a flag set indicating that the connection is to be secure. We are having absolutely no iss

  • How to install a web server to connect to android client 2011-12-12

    I have a wesite witten by zend framework? I want to build an android's client to communicate with the website? What I need to install? Should I zend Server? --------------Solutions------------- Website? Install a web server, like IIS or Apache, and d

  • Building a web server app that tracks android phones using GPS 2012-02-20

    I have already android app that is capable of getting GPS data. Now I want the app to send the GPS co=ordinates to a web server. Say, I have an app with Google Map embedded, running on my desktop PC. Now I want this application to show the location o

  • Visual Studio Local IIS Web Server Project Url With Multiple Subdomains 2012-04-16

    I would like to try testing virtual hosting of an ASP.Net MVC website on my local machine. In Visual Studio in the Web tab of the properties file for the MVC project, I selected Use Local IIS Web Server. By "virtual hosting", what I really mean is th

  • Best or optimum Web Server set up with Two servers,development practices 2009-03-24

    I am having our company websites (x8 total 500,000per month) on a 1/3 share of a virtual server upgraded to 1 live server and 1 hot backup server. These two will be all our own, and run Debian, A2,M5,P5.2. The live one is more meaty than the spare. W

  • Connect to web server via Phonegap with SSL and Certificate 2011-11-17

    That's all about Phonegap Android and iOS application build on JS. We have a server with method: - Authorize(login,pass) which return certificate.p12 file (PKCS#12). Also server has methods, which requires authorization with that certificate. Example

  • Web link to download with Android phone? 2011-03-10

    In my web site i make link like<a href="test.txt">DOWNLOAD</a>. And when i open this site on my Android phone and click on link, standart browser opens txt file. I want to download file and not open. What i may to do for that? Thanks! ---

  • Uploading a Photo to Server via JSON with Android 2012-03-01

    I'm trying to upload a photo to my server. But I'm confused as to how to submit a multi-part request as JSON. Here's the code I have so far. // Set up HTTP client. HttpClient client = DefaultHttpClient(); // Multi-part content body. MultipartEntity m

  • Microsoft Exchange Server 2007 autodiscovery with Android phones 2014-02-03

    Our corporate mailserver is running Exchange 2007 with the SRV record pointing to our Autodiscover.xml. Our domain passes thewww.testexchangeconnectivity.com site. Outlook clients can connect without issue. When a mobile user connected their mobile d

  • Open source minimal web server? 2009-01-20

    I am thinking of the next steps for a project I have written. It is currently a desktop application that controls a serial port device. I am considering allowing browser clients to connect to some process to get "near real time" updates about the sta

  • What is the difference between application server and web server? 2009-06-01

    What is the difference between application server and web server? --------------Solutions------------- Most of the times these terms Web Server and Application server are used interchangeably. Following are some of the key differences in features of

  • .Net 3.5 sp1 unable to start debugging on web server 2009-11-11

    When trying to debug my web application, I'm getting an "unable to start debugging on the web server" error then with html displayed right after in the same pop up. All the inline code in the html shows an exception e.g object reference not set, unha

  • Difference between application server and web server? 2010-01-02

    May I know the differences between application servers and web servers? Please list examples of each. --------------Solutions------------- A 'web server' is generally any server program which serves content using the http (or https) protocols. These

  • ASP.net application vs. a web server delivering HTML to browser 2010-01-26

    Aside from the rich array of controls (I know thats a big aside) what is the primary difference between say a C# application hosted on a web server that delivers HTML to a browser and an ASP.net solution. Lets say for this example, we include some ja

  • VS2010 development web server does not use integrated-mode HTTP handlers/modules 2010-04-25

    I am developing an ASP.NET MVC 2 web site, targeted for .NET Framework 4.0, using Visual Studio 2010. My web.config contains the following code: <system.webServer> <modules runAllManagedModulesForAllRequests="true"> <add name="XhtmlMod

  • Various clients to web server architecture 2010-11-08

    We need to make client - web server application with minimum code rewriting on server side: Clients Web browsers; Desktop application (win, mac); Iphone (web and native); Android (web and native); (maybe some other mobile platform); Web server .Net w

  • svcutil failing on IIS7 server, but not on Visual Studio 2010 temporary web server 2011-01-04

    I've created a LINQ to SQL class and a Silverlight-enabled WCF Service to a Silverlight 4.0 solution I'm working on. I'm in the process of publishing it to a local IIS7 server, instead of running inside the Visual Studio temporary web server. Wheneve

  • Transfering text data to a web server using Java 2011-02-05

    I'm trying to write to a text file on my web server using HttpURLConnection.getOutputStream(). I have tried this on two different servers without success. I have added a FileWriter to test the InputStream, and that file is created on a local director

  • Tornado web server/framework 2011-02-21

    I am a bit confused, Tornado is web server like a apache http server, or a framework like django, or both? Thanks --------------Solutions------------- Tornado is a server and framework if you want to make some apps with it. I use Tornado to serve my

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.087 (s). 11 q(s)