• Home
  • Raw
  • Download

Lines Matching +full:php +full:- +full:image

4 # Use of this source code is governed by a BSD-style license that can be
37 a free port from 8001 - 8999.
39 base_config_path: If supplied this file will replace the built-in default
42 base config (default built-in, or from base_config_path).
83 with codecs.open(self.base_config_path, 'r', 'utf-8') as f:
90 with codecs.open(self.config_path, 'w', 'utf-8') as f:
96 'It may need to be installed (e.g. sudo apt-get install lighttpd)'
98 # pylint: disable=no-member
100 ['-D', '-f', self.config_path,
101 '-m', self.lighttpd_module_path],
144 # pylint: disable=no-member
148 server_msg += self.process.match.group(0) # pylint: disable=no-member
149 elif ix == 1: # EOF -- server has quit so giveup.
162 if subprocess.call(['fuser', '-kv', '%d/tcp' % port]) == 0:
165 assert subprocess.call(['fuser', '-v', '%d/tcp' % port]) != 0, \
178 #server.document-root = "."
181 index-file.names = ( "index.php", "index.pl", "index.cgi",
185 ".gif" => "image/gif",
186 ".jpg" => "image/jpeg",
187 ".jpeg" => "image/jpeg",
188 ".png" => "image/png",
189 ".svg" => "image/svg+xml",
195 ".js" => "application/x-javascript",
202 ".manifest" => "text/cache-manifest",
205 # Use the "Content-Type" extended attribute to obtain mime type if possible
206 mimetype.use-xattr = "enable"
209 # which extensions should not be handle via static-file transfer
211 # .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
212 static-file.exclude-extensions = ( ".php", ".pl", ".cgi" )
218 dir-listing.activate = "enable"
219 #dir-listing.encoding = "iso-8859-2"
220 #dir-listing.external-css = "style/oldstyle.css"
223 #debug.log-request-header = "enable"
224 #debug.log-response-header = "enable"
225 #debug.log-request-handling = "enable"
226 #debug.log-file-not-found = "enable"
232 # Autogenerated test-specific config follows.
237 ".php" => "/usr/bin/php-cgi" )
241 server.upload-dirs = ( "/tmp" )
242 server.pid-file = "%(pid_file)s"
243 server.document-root = "%(document_root)s"
252 input('Server running at http://127.0.0.1:%s -'