Drupal is up and running but how do I ...?

Drupal's .htaccess and subdomains for development sites

Because of the changes in base url in 4.7, I tried setting up a subdomain for a development site that would then be moved to the root of the domain.

I was able to create the subdomain alright, but I get a forbidden error when I access the sub-domain. My host (Site5) also reported the following:

The problem with your .htaccess file and please correct it.

[Sun Jun 18 20:33:12 2006] [error] [client IP address] Directory index forbidden by rule: /home/domain/public_html/test/
[Sun Jun 18 20:33:12 2006] [error] [client IP address] mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if neccessary.

The way subdomains work on Site5 is that a separate directory is created under public_html for every sub-domain created. In this case, there is a live, 4.6.5 drupal site at the root of the domain (public_html) that obviously has a .htaccess file that seems to be somehow creating the problem. I am reasonably sure about this because on another site, I set up just a sub-domain and that works without any problem as there is no drupal site for that domain yet (so no .htaccess file).

Please note that I am not redirecting http://test.domain.com to www.domain.com/test but just looking to use test.domain.com itself.

I know the directory index forbidden error is just a setting to be changed in cpanel, but I have no idea how to get the subdomain working without breaking the current live site.

Site off line page, help needed

I have logged out of my account, not all i get is the site off line page. I cannt find a way of getting back in as there is no where to login, can some body help me please.

Adsense trouble

I am getting an error from the adsense module. In the logs it gives an error 'page not found' for /modules/adsense/adsense_clicks.js. I FTP'ed into my site and see that the file exists at that location. How can I get the log to stop showing it every minute? Has anyone else had this problem?

Thanks

Problem customizing page layout based on taxanomy terms

I'm working with this article:

http://drupal.org/node/46027

Here's my code

1. if (arg(0)=="add") {
2.     include 'page-add.tpl.php';
3.     return; }
4. 		
5. if (arg(0)=="node"&&arg(arg(2)=="edit") {
6.     include 'page-add.tpl.php';
7.     return; }

8. include 'page-default.tpl.php';
9.     return;
10. ?>

I'm getting this error:

Sudden site slowdown

Hi,
My site http://news.beiruter.com" suddenly slowed down.

I'm using 4.7.0 Apache php5 mysql 4.4.. and for almost 6 months now everything was going smooth. Since last week, i noticed the site is loading verry slowly.. actually, the title of the page apear very quickly in the browser.. but then nothing.. it takes up to a minute for the rest to load. You can try it.. it works for all the pages of the site.. almost all the time. Almost coz sometimes it just loads regularly.

Removing "/" in clean url link

That subject probably sounds weird. Here's my sit.

In the node.tpl.php I have these 2 lines:

Pages

Subscribe with RSS Subscribe to RSS - Post installation