I don't have access to "httpd.config" but a support tech said "Allowoverride" is "on" so I should be able to put these things in my ".htaccess" file (ie the virtual host code). is this where I should put code? (which .htaccess file!? to put it into? I am running my site as an add-on domain, then the drupal install folder is at mydomain.com/drupal. So basically do I put this on my root .htaccess, or in Drupal's?)

Comments

davidhernandez’s picture

What overrides do you mean? The .htaccess file would be where you add apache configuration options, like rewrites. You should have one in the root drupal folder.

spiritkarma’s picture

I was thinking about stuff mentioned in vhosts files, but I finally got my configuration working, and I haven't yet needed them. However I still have to set up Ubercart, so don't know if I will then. So Yeah, I guess I am asking about Apache overrides, not drupal overrides. If they can all go into the drupal.htaccess file, that's great! If not, then I would still have to figure out where they go.

davidhernandez’s picture

It depends. Some directives are allowed in the .htaccess file and some are not. You may have to add them in the server's config. Check apache's documentation for the particular directive you are interested in, and it will tell you where it can be used.