I just installed beta 2 0.1 on IIS 5.1 and all works well except that for all the forms, the action=./
This means that I get a method not allowed error (HTTP 405)
How do I edit the code so its form action=index.php or whatever its supposed to be. I tried editing main.inc but it had no effect.
Whatever form I submit has the HTTP 405 Method Not Allowed because the form action="./"
Update .htaccess in the root of roundcube as below by adding 1 line:
DirectoryIndex index.html index.php
total becomes
# AddDefaultCharset UTF-8
php_flag display_errors Off
php_flag log_errors On
php_value error_log logs/errors
php_value upload_max_filesize 2M
DirectoryIndex index.html index.php
Order allow,deny
Deny from all
Order deny,allow
Allow from all
This is what did it for me
Quote from: seansan Update .htaccess in the root of roundcube as below by adding 1 line:
DirectoryIndex index.html index.php
total becomes
# AddDefaultCharset UTF-8
php_flag display_errors Off
php_flag log_errors On
php_value error_log logs/errors
php_value upload_max_filesize 2M
DirectoryIndex index.html index.php
Order allow,deny
Deny from all
Order deny,allow
Allow from all
This is what did it for me
are you blind?
he is using IIS, .htaccess is ONLY for Apache, so that there is just totaly unuseful :)
Yes I use IIS :-\, There was alot of file editing. Now Uploading doesn't work (tested it on latest SVN release and Beta 2)
The SVN releases also have this little problem. I'm sure all IIS users will have this same problem, the only solution I know is to change the form action="./" in the code/html to form action="index.php"
Nice HTML Editor in the SVN.
Anyone else got through this problem and sorted the upload problem?
Does anyone know how to get this working without editing the code on IIS?
missed the IIS
maybe the following from http://support.microsoft.com/kb/324064 should cover all the editing?
Configuring the Default Folder File
To change the list of default documents or their preference order in the same way that you do with the DirectoryIndex directive in an .Htaccess file: 1. Right-click the folder, and then click Properties.
2. Click the Documents tab.
3. Click Add to add a new default document, or click Remove to delete an existing default file from the folder listing.
4. Click an existing document, and then use the UP ARROW key and the DOWN ARROW key to change the priority of the item.
I have the default document, permissions everythings set up. The only problem is IIS doesn't allow the HTTP header to be post when the target document is ./.
The GET header allows the ./ structure (hence the URL's work) but I can't use the GET form posting method because It would temporarily display the password in the URL bar.
I think this should be classified as a bug since configuration can't solve it.
For anyone who has this problem
===================
Go to the main directory where the files are stored
Press search and search for All files (including subdirectories) with the phrase