IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
 
Closed TopicStart new topic

.htaccess Override

, Where the #$%^ is httpd.conf located?


gaea
no avatar
Super Member
*********
Group: Members
Posts: 206
Joined: 14-March 06
From: Vermont or Boston (USA)
Member No.: 20,077
myCENT:54.10



Post #1 post Sep 10 2006, 11:17 PM
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!


This post has been edited by gaea: Sep 10 2006, 11:18 PM
Go to the top of the page
+Quote Post
jlhaslip
no avatar
Insert Custom Title Here
*******************
Group: [MODERATOR]
Posts: 4,908
Joined: 24-July 05
From: Linux, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol
myCENT:6.20



Post #2 post Sep 11 2006, 12:17 AM
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.
Go to the top of the page
+Quote Post
Saint_Michael
no avatar
$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
*********************
Group: [MODERATOR]
Posts: 7,255
Joined: 21-September 04
From: 9r33|\| 399$ 4|\|D 5P4/\/\
Member No.: 1,218
myCENT:83.20



Post #3 post Sep 11 2006, 12:17 AM
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.
Go to the top of the page
+Quote Post
gaea
no avatar
Super Member
*********
Group: Members
Posts: 206
Joined: 14-March 06
From: Vermont or Boston (USA)
Member No.: 20,077
myCENT:54.10



Post #4 post Sep 11 2006, 12:49 AM
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.


This post has been edited by gaea: Sep 11 2006, 12:52 AM
Go to the top of the page
+Quote Post
Saint_Michael
no avatar
$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
*********************
Group: [MODERATOR]
Posts: 7,255
Joined: 21-September 04
From: 9r33|\| 399$ 4|\|D 5P4/\/\
Member No.: 1,218
myCENT:83.20



Post #5 post Sep 11 2006, 01:10 AM
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
Go to the top of the page
+Quote Post
gaea
no avatar
Super Member
*********
Group: Members
Posts: 206
Joined: 14-March 06
From: Vermont or Boston (USA)
Member No.: 20,077
myCENT:54.10



Post #6 post Sep 11 2006, 01:33 AM
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.

This post has been edited by gaea: Sep 11 2006, 01:34 AM
Go to the top of the page
+Quote Post
Saint_Michael
no avatar
$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
*********************
Group: [MODERATOR]
Posts: 7,255
Joined: 21-September 04
From: 9r33|\| 399$ 4|\|D 5P4/\/\
Member No.: 1,218
myCENT:83.20



Post #7 post Sep 13 2006, 07:38 PM
Not a problem let us know how the httaccess editing goes.

Topic closed
Go to the top of the page
+Quote Post

Closed TopicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   2 ashiezai 3,199 28th July 2009 - 05:21 PM
Last post by: TheDisturbedOne
No New Posts   2 teob 4,653 14th February 2005 - 01:07 AM
Last post by: teob
No New Posts 0 pasten 353 3rd September 2008 - 10:07 AM
Last post by: nitish
No New Posts   0 herenvardo 446 12th August 2008 - 03:08 PM
Last post by: herenvardo
No New Posts   4 -welbis- 1,526 14th January 2005 - 03:01 PM
Last post by: -welbis-
No New Posts   4 -ravenrtc- 1,676 14th March 2005 - 04:46 PM
Last post by: -izmaelis-
No New Posts   2 kvarnerexpress 2,002 7th May 2005 - 10:22 AM
Last post by: clagnol
No New Posts   1 beeseven 965 3rd June 2005 - 07:38 PM
Last post by: serverph
No New Posts   6 snlildude87 1,194 6th October 2005 - 01:37 AM
Last post by: Spectre
No New Posts   7 jlhaslip 1,303 24th October 2005 - 11:43 PM
Last post by: Lyon2
No New Posts   0 shadowx 609 17th July 2007 - 11:52 AM
Last post by: shadowx
No New Posts   0 kvarnerexpress 649 22nd December 2005 - 12:26 PM
Last post by: kvarnerexpress
No New Posts   5 spy_charly 1,106 9th March 2006 - 01:23 PM
Last post by: spy_charly
No New Posts   5 True2Earn 736 28th April 2006 - 04:54 AM
Last post by: jlhaslip
No New Posts   6 ivenms 1,452 10th August 2006 - 06:51 PM
Last post by: BuffaloHelp


 



RSS Open Discussion Time is now: 8th November 2009 - 02:01 PM

Web Hosting Powered by ComputingHost.com.