Posted by toma on February 27, 2007 at 9:37am
Jump to:
| Project: | wgHTML |
| Version: | 5.x-1.0 |
| Component: | Documentation |
| Category: | task |
| Priority: | normal |
| Assigned: | djnz |
| Status: | active |
Issue Summary
Hi
For drupal 5 multisite system i store module to /sites/all/modules/wghtml
I set the .htaccess in my html directory /html
RewriteEngine On
RewriteCond %{REQUEST_URI} \.php$|\.html?$|\.txt$|\.doc$|\.me$ [NC]
RewriteRule ^(.*)$ /sites/all/modules/wghtml/show [L]My html directory is located in the root directory of all my sites, i visit the html file with
http://www.mywebsite.com/html/dream.html
Page not found
Thanks
Comments
#1
No, the path in the RewriteRule should just be /wghtml/show (if drupal index.php is in your web root directory).
The documentation for wgHTML does need refreshing to make it clearer what goes where with Drupal 5 so I have kept this open, changed to a Doc task (although keep following up toma if you still have problems).
#2
Waw
it work just fine, i add mysql manual (frensh) check out
http://www.php.ma/manuels/mysql/index.html
Thanks
#3
I have this error visiting a page
user warning: Got a packet bigger than 'max_allowed_packet' query: INSERT INTO wghtml_versions ( pageId, version, perm_area, raw, title, head, body, bodyattrib, linkto, signature, cachetime) VALUES (55, 1, '/manuels/mysql', '<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"><title>Chapitre 2. Installer MySQL</title><link rel=\"stylesheet\" href=\"mysql-html.css\" type=\"text/css\"><meta name=\"generator\" content=\"DocBook XSL Stylesheets V1.69.1\"><link rel=\"start\" href=\"index.html\" title=\"MySQL 5.0 Reference Manual\"><link rel=\"up\" href=\"index.html\" title=\"MySQL 5.0 Reference Manual\"><link rel=\"prev\" href=\"introduction.html\" title=\"Chapitre 1. Informations générales\"><link rel=\"next\" href=\"tu in /home/web/site/includes/database.mysql.inc on line 172.#4
This looks like an issue with your MySQL set up: I am not an expert in that at all. Is this any help?
#5
I read on your forum, that wgHTML is limited to only html file with 65 ko , the html file is too heavy ... Thanks for your help and this great module
#6
The 65k limit has been removed in version 5.x (it was never deliberate, just an oversight in the database schema). Thanks for the feedback!
#7
Thanks for your answer, the problem in mysql have no relation with the 65k issue limit !?