# Use PHP5 as default
AddHandler application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
suPHP_ConfigPath /home/n000re2/public_html
# Use PHP5 as default
AddHandler application/x-httpd-php5 .php
# lunarpages.com
# .htaccess primary domain to subfolder redirect
# Copy and paste the following code into the .htaccess file
# in the public_html folder of your hosting account
# make the changes to the file according to the instructions.
# Do not change this line.
RewriteEngine on
# Change yourdomain.com to be your primary domain.
RewriteCond %{HTTP_HOST} ^(www.)?cms.com$
# Change 'subfolder' to be the folder you will use for your primary domain.
RewriteCond %{REQUEST_URI} !^/cms/
# Don't change this line.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Change 'subfolder' to be the folder you will use for your primary domain.
RewriteRule ^(.*)$ /cms/$1
# Change yourdomain.com to be your primary domain again.
# Change 'subfolder' to be the folder you will use for your primary domain
# followed by / then the main file for your site, index.php, index.html, etc.
RewriteCond %{HTTP_HOST} ^(www.)?cms.com$
RewriteRule ^(/)?$ cms/index.php [L]
This is the current .htaccess file. I thought it would not be important, but it appears so... I am using a module called domain access that allows me to run several domains from one installation. On further testing this code I can't get any pictures to work., and it maybe due to errors in the amendments I made to .htaccess. You seem to have spotted something obivous that eludes me still as I look at the code.
When I try to upload an image it comes up with:
An AJAX HTTP request terminated abnormally.
Debugging information follows.
Path: /file/ajax/field_wp_blog_img/und/0/form-GBwpOVmKTsnu6B6L4yS2qTap8FgiOCAU7pDt4Lnz8Do
StatusText: n/a
ResponseText: [{"command":"settings","settings":{"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"rubik","theme_token":"zLWOnY7LsBQQxcRNlhS6QpRZi4z-TX6QKcvevlqSuM8","css":{"modules\/overlay\/overlay-parent.css":1},"js":{"sites\/all\/libraries\/headjs\/head.min.js":1,"headjs--head":1,"headjs--settings":1}},"overlay":{"paths":{"admin":"node\/*\/webform\nnode\/*\/webform\/*\nnode\/*\/webform-results\nnode\/*\/webform-results\/*\nnode\/*\/submission\/*\nnode\/*\/edit\nnode\/*\/delete\nnode\/*\/revisions\nnode\/*\/revisions\/*\/revert\nnode\/*\/revisions\/*\/delete\nnode\/add\nnode\/add\/*\noverlay\/dismiss-message\nuser\/*\/shortcuts\nadmin\nadmin\/*\nbatch\ntaxonomy\/term\/*\/edit\nnode\/*\/translate\nuser\/*\/cancel\nuser\/*\/edit\nuser\/*\/edit\/*","non_admin":"admin\/structure\/block\/demo\/*\nadmin\/reports\/status\/php"},"ajaxCallback":"overlay-ajax"},"admin_menu":{"destination":"destination=file\/ajax\/field_wp_blog_img\/und\/0\/form-GBwpOVmKTsnu6B6L4yS2qTap8FgiOCAU7pDt4Lnz8Do","replacements":{".admin-menu-users a":"1 \/ 0"},"margin_top":1,"position_fixed":1,"tweak_tabs":1,"toolbar":[]},"clientsideValidation":{"general":{"errorClass":"error","wrapper":"li","validateTabs":1},"forms":{"wp-blog-node-form":{"settings":{"errorContainer":"#formerrors-wp-blog-node-form","errorLabelContainer":"#formerrors-wp-blog-node-form ul"},"rules":{"title":{"required":true,"messages":{"required":"Title field is required.","maxlength":"Title field has to have maximum 128 values."},"maxlength":128},"name":{"maxlength":60,"messages":{"maxlength":"Authored by field has to have maximum 60 values."}},"date":{"maxlength":25,"messages":{"maxlength":"Authored on field has to have maximum 25 values."}},"taxonomy_wp_blog_tags[und]":{"maxlength":1024,"messages":{"maxlength":"Blog tags field has to have maximum 1024 values."}},"field_wp_blog_img[und][0][alt]":{"maxlength":80,"messages":{"maxlength":"Alternate text field has to have maximum 80 values."}},"field_wp_blog_img[und][0][title]":{"maxlength":500,"messages":{"maxlength":"Title field has to have maximum 500 values."}},"path[alias]":{"maxlength":255,"messages":{"maxlength":"URL alias field has to have maximum 255 values."}},"menu[link_title]":{"maxlength":128,"messages":{"maxlength":"Menu link title field has to have maximum 128 values."}}},"checkboxrules":{"domains":{"checkboxgroupminmax":[1,99,"#edit-domains"],"messages":{"checkboxgroupminmax":"Publish to field is required."}}}}}},"ajax":{"edit-field-wp-blog-img-und-0-remove-button":{"wrapper":"edit-field-wp-blog-img-und-0-ajax-wrapper","effect":"none","progress":{"type":"throbber","message":null},"event":"mousedown","keypress":true,"prevent":"click","url":"\/file\/ajax\/field_wp_blog_img\/und\/0\/form-GBwpOVmKTsnu6B6L4yS2qTap8FgiOCAU7pDt4Lnz8Do","submit":{"_triggering_element_name":"field_wp_blog_img_und_0_remove_button","_triggering_element_value":"Remove"}}}},"merge":true},{"command":"insert","method":"prepend","selector":"head","data":"\u003cstyle type=\"text\/css\" media=\"all\"\u003e@import url(\"http:\/\/lotuspuresound.net\/modules\/overlay\/overlay-parent.css?lpt9iz\");\u003c\/style\u003e\n","settings":null},{"command":"insert","method":"prepend","selector":"head","data":"\u003cscript type=\"text\/javascript\" src=\"http:\/\/lotuspuresound.net\/sites\/all\/libraries\/headjs\/head.min.js?v=0.96\"\u003e\u003c\/script\u003e\n\u003cscript type=\"text\/javascript\"\u003e\n\u003c!--\/\/--\u003e\u003c![CDATA[\/\/\u003e\u003c!--\nhead.js(\"http:\/\/lotuspuresound.net\/misc\/jquery.js\", \"http:\/\/lotuspuresound.net\/misc\/jquery.once.js\", \"http:\/\/lotuspuresound.net\/misc\/drupal.js\", \"http:\/\/lotuspuresound.net\/misc\/ui\/jquery.ui.core.min.js\", \"http:\/\/lotuspuresound.net\/misc\/jquery.ba-bbq.js\", \"http:\/\/lotuspuresound.net\/modules\/overlay\/overlay-parent.js\", \"http:\/\/lotuspuresound.net\/misc\/jquery.cookie.js\", \"http:\/\/lotuspuresound.net\/misc\/jquery.form.js\", \"http:\/\/lotuspuresound.net\/misc\/ajax.js\", \"http:\/\/lotuspuresound.net\/sites\/all\/modules\/admin_menu\/admin_devel\/admin_devel.js\", \"http:\/\/lotuspuresound.net\/sites\/all\/modules\/mollom\/mollom.js\", \"http:\/\/lotuspuresound.net\/sites\/all\/modules\/panels\/js\/panels.js\", \"http:\/\/lotuspuresound.net\/sites\/all\/modules\/admin_menu\/admin_menu.js\", \"http:\/\/lotuspuresound.net\/sites\/all\/modules\/admin_menu\/admin_menu_toolbar\/admin_menu_toolbar.js\", \"http:\/\/lotuspuresound.net\/sites\/all\/modules\/clientside_validation\/jquery-validate\/jquery.validate.js\", \"http:\/\/lotuspuresound.net\/sites\/all\/modules\/clientside_validation\/clientside_validation.js\", \"http:\/\/lotuspuresound.net\/misc\/progress.js\", \"http:\/\/lotuspuresound.net\/modules\/file\/file.js\", \"http:\/\/lotuspuresound.net\/sites\/all\/themes\/rubik\/js\/rubik.js\", \"http:\/\/lotuspuresound.net\/sites\/all\/modules\/views\/js\/jquery.ui.dialog.patch.js\");\n\/\/--\u003e\u003c!]]\u003e\n\u003c\/script\u003e\n\u003cscript type=\"text\/javascript\" defer=\"defer\"\u003e\n\u003c!--\/\/--\u003e\u003c![CDATA[\/\/\u003e\u003c!--\nhead.ready(function(){jQuery.extend(Drupal.settings, {\"basePath\":\"\\\/\",\"pathPrefix\":\"\",\"ajaxPageState\":{\"theme\":\"rubik\",\"theme_token\":\"zLWOnY7LsBQQxcRNlhS6QpRZi4z-TX6QKcvevlqSuM8\",\"js\":{\"misc\\\/jquery.js\":1,\"misc\\\/jquery.once.js\":1,\"misc\\\/drupal.js\":1,\"misc\\\/ui\\\/jquery.ui.core.min.js\":1,\"misc\\\/jquery.ba-bbq.js\":1,\"modules\\\/overlay\\\/overlay-parent.js\":1,\"misc\\\/jquery.cookie.js\":1,\"misc\\\/jquery.form.js\":1,\"misc\\\/ajax.js\":1,\"sites\\\/all\\\/modules\\\/admin_menu\\\/admin_devel\\\/admin_devel.js\":1,\"sites\\\/all\\\/modules\\\/mollom\\\/mollom.js\":1,\"sites\\\/all\\\/modules\\\/panels\\\/js\\\/panels.js\":1,\"sites\\\/all\\\/modules\\\/admin_menu\\\/admin_menu.js\":1,\"sites\\\/all\\\/modules\\\/admin_menu\\\/admin_menu_toolbar\\\/admin_menu_toolbar.js\":1,\"sites\\\/all\\\/modules\\\/clientside_validation\\\/jquery-validate\\\/jquery.validate.js\":1,\"sites\\\/all\\\/modules\\\/clientside_validation\\\/clientside_validation.js\":1,\"misc\\\/progress.js\":1,\"modules\\\/file\\\/file.js\":1,\"sites\\\/all\\\/themes\\\/rubik\\\/js\\\/rubik.js\":1,\"sites\\\/all\\\/modules\\\/views\\\/js\\\/jquery.ui.dialog.patch.js\":1}},\"overlay\":{\"paths\":{\"admin\":\"node\\\/*\\\/webform\\nnode\\\/*\\\/webform\\\/*\\nnode\\\/*\\\/webform-results\\nn
ReadyState: undefined
The address is 3000realms.com. It might just make it easier to see the problem.
The Lunarpages account was setup on the 3000realms.com domain. It is the only domain which is exhibiting the necessity for the subdirectory in pathes. I believe it maybe setup like that because it is the parent domain for my account. Ive moved it from being the primary domain in the installation but the subdirectory presence was persistent. I only have pieces of the puzzle which might not be complete for the full system to be operational even though they currently seem to be doing part of the whole task. I Would really like to proceed with development and design to get more clients in.