1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Portable Web Server Using lighttpd</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta charset="UTF-8">
- <meta name="keywords" content="Lighttpd,Windows,Portable,Flash Drive,USB,Coding,On The Go,PHP,HTTP,Web,Install Guide,Free Software,Fun With Code,Portable Software,System Administrator,Web Server Administration,Web Server,Web Developer,Flash Disk,PHP Developer,IT Toolbox,PHP Web Server On A Flash Drive,Portable PHP Web Server,How To,Tutorial,i12bretro">
- <meta name="author" content="i12bretro">
- <meta name="description" content="Portable Web Server Using lighttpd">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="revised" content="04/06/2022 08:42:50 PM" />
- <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
- <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
- <script type="text/javascript" src="includes/js/steps.js"></script>
- <link href="css/steps.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="gridContainer">
- <div class="topMargin"></div>
- <div id="listName" class="topMargin">
- <h1>Portable Web Server Using lighttpd</h1>
- </div>
- <div></div>
- <div id="content">
- <h2>Things You Will Need</h2>
- <ul>
- <li>A USB flash drive, at least 8 GB <a href="https://amzn.to/3wkR5ju" target="_blank">https://amzn.to/3wkR5ju</a> | <a href="https://amzn.to/3qkrJ1p" target="_blank">https://amzn.to/3qkrJ1p</a> | <a href="https://amzn.to/3Nhu9b9" target="_blank">https://amzn.to/3Nhu9b9</a></li>
- </ul>
- <ol>
- <li>Download lighttpd for Windows <a href="http://lighttpd.dtech.hu/" target="_blank">Download</a></li>
- <li>Download Microsoft Visual C++ <a href="https://aka.ms/vs/16/release/vc_redist.x86.exe" target="_blank">Download</a></li>
- <li>Install Microsoft Visual C++</li>
- <li>Extract the lighttpd .zip file</li>
- <li>Copy the extracted lighttpd folder to the root of a USB flash drive</li>
- <li>Navigate to /lighttpd and double click lighttpd.exe to start the portable web server with the default configuration</li>
- </ol>
- <h2>Add PHP Support (Optional)</h2>
- <ol>
- <li>Download the zip version of PHP for Windows <a href="https://windows.php.net/download" target="_blank">Download</a></li>
- <li>Extract the downloaded PHP .zip file</li>
- <li>Copy the extracted PHP files to /lighttpd/PHP</li>
- <li>Navigate to /lighttpd/conf and edit lighttpd.conf in a text editor</li>
- <li>Add the following lines to lighttpd.conf<br />
- cgi.assign = ( ".php" => server_root + "/PHP/php-cgi.exe")</li>
- <li>Find static-file.exclude-extensions and add ".php" to the listing</li>
- <li>Find index-file.names and add "index.php" to the listing</li>
- <li>Find mod_cgi and remove the # to uncomment it</li>
- <li>Save the changes to lighttpd.conf</li>
- <li>Navigate to /lighttpd and double click lighttpd.exe to start the portable web server with PHP support</li>
- </ol>
- </div>
- </div>
- </body>
- </html>
-
|