Apache WAMP Server and testing with "test.lc" ... Not found
Posted: Mon Dec 08, 2014 2:10 am
I give up! I've spent some time with this lesson: "How do I install LiveCode Server on Windows with Apache?"
According to the lesson, (I think) I should put "livecode-community-server" here: "C:/wamp/bin/apache/apache2.2.21/cgi-bin/livecode-community-server.exe"
According to the lesson, (I think) I should replace the specified code with the following code: "C:/wamp/bin/apache/apache2.2.21/htdocs"
I put the following code into notepad and save it as "test.lc" here: "C:/wamp/www"
...and I get this when I go to localhost/test.lc: "Not Found. The requested URL /test.lc was not found on this server."
EEEK! What am I doing wrong?
According to the lesson, (I think) I should put "livecode-community-server" here: "C:/wamp/bin/apache/apache2.2.21/cgi-bin/livecode-community-server.exe"
According to the lesson, (I think) I should replace the specified code with the following code: "C:/wamp/bin/apache/apache2.2.21/htdocs"
Code: Select all
<Directory "C:/wamp/bin/apache/apache2.2.21/htdocs">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
AddHandler livecode-script .lc
Action livecode-script /livecode-cgi/livecode-community-server.exe
</Directory>
<Directory "C:/wamp/bin/apache/apache2.2.21/cgi-bin">
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
ScriptAlias /livecode-cgi/livecode-community-server.exe "C:/wamp/bin/apache/apache2.2.21/cgi-bin/livecode-community-server.exe"
Code: Select all
<html>
<head>
<title>My LiveCode Server Test Page</title>
</head>
<body>
<h1>My LiveCode Server Test Page</h1>
<?lc
put "<p>Hello World! from LiveCode Server</p>"
put "<p>The date is" && the date & "</p>"
?>
</body>
</html>
EEEK! What am I doing wrong?