Sign in to follow this  
Followers 0
davidkim

how to use apache in aucgi ?

1 post in this topic

#1 ·  Posted (edited)

i post view site

edit apache httpd.conf

<Directory "C:/APM_Setup/htdocs">

Options FollowSymLinks ExecCGI

AllowOverride All

Order allow,deny

Allow from all

</Directory>

AddHandler cgi-script .au3

<IfModule dir_module>

DirectoryIndex index.php index.html index.htm index.au3

</IfModule>

its not working index.au3

its not source

#!C:AuCGIAuCGI.exe

##WebApp title="My Cool Web Page - Index Page"

_StartWebApp ("title")

echo ("Hi! I was made in AutoIt!<br />")

echo ("I can get information from the server's computer, and interact with the server's computer. The server is running "&@OSVersion&"!<br />")

echo ("GET variable say is equal to: "&_Get("say")&"<br />")

echo ("Your IP Address is: "&_GetClientIP()&"<br />")

_WebCounter ( )

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<meta content="text/html; charset=ISO-8859-1"

http-equiv="content-type">

<title>Test</title>

</head>

<body>

<table style="text-align: left; width: 1063px; height: 80px;"

border="0" cellpadding="0" cellspacing="0">

<tbody>

<tr>

<td style="width: 161px;"><img style="width: 166px; height: 68px;" alt="Logo"

src="file:///C:/LightTPD/htdocs/logo4.gif"></td>

<td style="width: 896px;"><img style="width: 100%; height: 68px;" alt="bg"

src="file:///C:/LightTPD/htdocs/tile_back.gif"></td>

</tr>

</tbody>

</table>

<?au3

echo("<br></br>")

echo("Hello World - from LightPD")

echo("<br></br>")

echo(@ScriptName & "<br></br>" & @AutoItVersion)

echo("<br></br>")

;~ msgbox(0,"Info","test")

_MsgBox ( "Your IP address is : " & @IPAddress1 )

?>

</body>

</html>

how to?

help me...

<?au3

this code get first application php script...

php paser output

Parse error: syntax error, unexpected T_ECHO in C:APM_SetuphtdocsIndex.html on line 31

this message..

Edited by davidkim

I interest am many quite in AutoitScript.From that is [http://cafe.naver.com/autoitscript[/color]] Korea of cafe(blog) to be operating, [size="2"][color="#ff00ff"]English cannot well[/size].Many help it requests.To read, it stands it thanks.

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0