Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.

In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.

left Zymic Webmaster ForumsZymic Free Web HostingZymic Free Web Hosting - General Discussion & Help right
  Reply to this topic Start new topic
left right
elmerato
post Nov 2 2009, 04:46 PM
Post #1


Newbie
*

Group: Members
Posts: 6
Joined: 16-October 09
Member No.: 114,106



I have a Drupal-based site on a subdomain in zymichost.com. Had a subdomain on my domain have its "A" record (I can't touch the nameservers) point to the zymichost subdomain such that for example "sub.mydomain.com" points to "sub.zymichost.com".

Everything works like a charm except when I try using upload module of Drupal on my domain.
I can upload files fine under "sub.zymichost.com" but i get nothing or "file upload error" on "sub.mydomain.com".

I believe this is an .htaccess issue but I don't know the right way to work out Rewrite rules.

Looking forward to some assistance. Thanks.
Go to the top of the page 
 
  + Quote Post
elmerato
post Nov 3 2009, 04:31 PM
Post #2


Newbie
*

Group: Members
Posts: 6
Joined: 16-October 09
Member No.: 114,106



Resolving my own issue. smile.gif

I found a workaround which consisted of the following:

1. Removed "A" record and instead used web forward (URL cloaking) to point sub.mydomain.com to sub.zymichost.com.
2. In .htaccess file at root of webfolder, added a slash to index.php entry near the bottom of the file as described http://www.zymic.com/forum/index.php?showt...&hl=#"" target="_blank" rel="nofollow">here.
3. In settings.php, uncommented base_url as "sub.mydomain.com".

This allowed files to be uploaded/attached via Drupal's upload module.

However, there is a side-effect to this - update.php and views editing (I suspect there may be others) won't work. Temporarily disabling clean-url and commenting-out base-url in settings.php during updates and editing clears things up. After performing updates or editing of views, simply enable the above items again.

If others in the community can come up with a more appropriate approach to this issue, please post them here.
Thank you.
Go to the top of the page 
 
  + Quote Post
 Reply to this topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 22nd November 2009 - 04:48 AM