I run a Apache server on my home computer. And it seems like FCK don´t like it when you don´t have a "www" adress. So far when loading the page into IE6 it will crash my Apache server. In Firefox (2) the page just stands still.
I just copy the fckeditor dir to my virtual host root "http://test" then i have a php file that looks like this:
<html>
<head>
<title>FCKeditor - Sample</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<?php
echo "<script type=\"text/javascript\" src=\"fckeditor/fckeditor.js\"></script>";
?>
</head>
<body>
<form action="sampleposteddata.php" method="post" target="_blank">
<?php
echo "<script type=\"text/javascript\">
var oFCKeditor = new FCKeditor('FCKeditor1');
oFCKeditor.BasePath = \"/fckeditor/\";
oFCKeditor.Create();</script>
";
?>
<br>
<input type="submit" value="Submit">
</form>
</body>
</html>
I use a virtual host that looks like this:
<VirtualHost *:80>
ServerName test
DocumentRoot C:\devroot\test
<Directory C:\devroot\test>
Options Indexes FollowSymLinks Includes
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Directory>
</VirtualHost>
What should i do in order to make it work on my local apache server?
Mon, 08/18/2008 - 05:24
#1