Jul 24, 2008

.htaccess Override - Where the #$%^ is httpd.conf located?

Free Web Hosting, No Ads > Have your say > Support and Feedback > Questions & Queries

free web hosting

.htaccess Override - Where the #$%^ is httpd.conf located?

gaea
Hey. I'm currently developing a site for a client using Joomla (the CMS), and am trying to enable search engine friendly URLs. To do this, I need to enable .htaccess override for a specific set of directories. Therefore I have two questions:

1) Where is httpd.conf (the apache config file) located in our installiations? I've spent about a half an hour browsing through everything, and still havn't found it.

2) How would I go about enabling .htaccess override just for a specific set of directories (just one directory, and all of its sub directories).

Any help would be much appreciated!

Reply

jlhaslip
The Apache httd.conf file would most likely be in an inaccesible part of the Server. I would guess that only the Admins (Opaque) would be able to alter that.
And Google on .htaccess for a ream of sites which will assist with the htaccess stuff.

Reply

Saint_Michael
to override a htaccess copy in whatever method you choose and then edit it and then upload from there. Nice, clean and simple just make sure to have an original just in case.

Someone might have to confirm this since I have no clue ( I know so sad)

either you can't edit that file (admin privilage) or you edit it by going though apache handlers. But i think it's the first option.

Reply

gaea
It isn't accessable via the apache handlers section (that only controls how the sever interprets files with specific extentions).

What would need to happen is adding the code:
CODE
<Directory "WhateverServerPath/murphyscelltech.com/www/yournewplace/">
AllowOverride All
</Directory>

and then rebooting the apache server.

I could be wrong, but I am 99.99% sure I can't acomplish this by copying/creating a new .htaccess.

Hasn't anyone else ever (sucessfully?) installed the SEF modules in Mambo or Joomla? I've been going through all the steps, and turning on the .htaccess override is the only one I havn't been able to do.

A quick test to see if the .htaccess override is enabled blatently fails. (Creating a new directory and .htaccess file with the code: 'Redirect /google.html http://www.google.com', and then trying to access http://www.yourserver.com/testdirectory/google.html).

If there are any workarounds that people can think of so I don't have to harass the admins that'd be wonderful. But I'm all out of ideas.

 

 

 


Reply

Saint_Michael
Although I havn't done that much htacess editing myself, all i can say it doesn't hurt and try it out and see if it works.

But on a side note did some searching and found a couple of links of which i pmed to you but for reference for future posts that could be dealing with this

here is the information you will need.

google the following:

enable search engine friendly URL in htaccess, joomla

Websites to look at:

http://forum.joomla.org/index.php/topic,1500.0.html

http://www.joomlaseo.net/Joomla/SEO/SEF-Se...e-Friendly.html

Reply

gaea
Thanks for your help! The first link you posted worked like a charm. The second one is bunk. Hopefully this thread will be of use to someone else who encounters this problem. Also, as a side note, don't bother paying for the "SEF Advance" component--you can get an open source equivalent named "OpenSEF" for free.

Reply

Saint_Michael
Not a problem let us know how the httaccess editing goes.

Topic closed

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. override httpd.conf - 98.02 hr back. (1)
Similar Topics

Keywords : htaccess override httpd conf located


    Looking for htaccess, override, percent, httpd, conf, located

Searching Video's for htaccess, override, percent, httpd, conf, located
advertisement



.htaccess Override - Where the #$%^ is httpd.conf located?



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE