hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Apache (possibly newbish) Question
Reply

Forum Jump

Apache (possibly newbish) Question

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-26-2008, 05:20 AM
1ronman 1ronman is offline
Newbie
 
Join Date: Sep 2008
Location: Buckinghamshire, UK
Posts: 18
Question

Apache (possibly newbish) Question


Hi I am running apache and need to have a subdirectory of one of my sites called "manual"

so http://www.whatever.com/manual

However this redirects me to the Apache manual page, I've had a bit of a poke around to try and disable this but I can't seem to find the right config file / line to change.

If it matters I am running Plesk on a Suse Enterprise Server.

Any help would be much appreciated



Sponsored Links
  #2  
Old 09-26-2008, 05:35 AM
webcertain webcertain is offline
Web Hosting Guru
 
Join Date: Jun 2008
Location: UK
Posts: 265
are you looking in httpd.conf ?
its normally somewhere like /usr/local/apache/conf or /etc/httpd/httpd.conf

there'll be an entry in there for whm that is doing the redirect

__________________
WebCertain - SEO, PPC, PR - The services you need to increase your site traffic. Specialists in over 35 languages and country-specific SEO! www.webcertain.com

  #3  
Old 09-26-2008, 05:50 AM
1ronman 1ronman is offline
Newbie
 
Join Date: Sep 2008
Location: Buckinghamshire, UK
Posts: 18
That is where I have been looking, but there is no mention of "manual" and I can't see anything that could be redirecting it. It has all my other vhosts & redirections which make sense but I can't see how the /manual directory is being redirected.

Is there anywhere else it could be?

Sponsored Links
  #4  
Old 09-26-2008, 09:04 AM
TowerOfPower TowerOfPower is offline
Web Hosting Guru
 
Join Date: Jul 2003
Location: NC
Posts: 270
Check under /etc/httpd/ for a file that contains a URL /manual Alias line.

On my Windows install [Apache v2.2] it's file C:\www\Apache22\conf\extra\httpd-manual.conf
Code:
#
# Provide access to the documentation on your server as
#  http://yourserver.example.com/manual/
# The documentation is always available at
#  http://httpd.apache.org/docs/2.2/
#
# Required modules: mod_alias, mod_setenvif, mod_negotiation
#

AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "D:/www/Apache22/manual$1"

<Directory "D:/www/Apache22/manual">
    Options Indexes
    AllowOverride None
    Order allow,deny
    Allow from all

    <Files *.html>
        SetHandler type-map
    </Files>

    SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1
    RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /manual/$1$2

    LanguagePriority en de es fr ja ko pt-br ru 
    ForceLanguagePriority Prefer Fallback
</Directory>

__________________
Download Apache Web Server with PHP and MySQL for Windows
Setup Websites and Self-Host in 60 Seconds with Wamp-Developer
DeveloperSide.NET - Telling them to Go Host Yourself!


Last edited by TowerOfPower; 09-26-2008 at 09:07 AM.
  #5  
Old 09-26-2008, 11:33 AM
webcertain webcertain is offline
Web Hosting Guru
 
Join Date: Jun 2008
Location: UK
Posts: 265
ah, yes, httpd.conf may include other files, and it could be part of those.

you could do a
Code:
grep "manual" *
in the conf folder, that would show you any files in the folder with that string in, but that might give you a lot of output.

__________________
WebCertain - SEO, PPC, PR - The services you need to increase your site traffic. Specialists in over 35 languages and country-specific SEO! www.webcertain.com

  #6  
Old 09-26-2008, 12:02 PM
1ronman 1ronman is offline
Newbie
 
Join Date: Sep 2008
Location: Buckinghamshire, UK
Posts: 18
Thanks to all for the help, I will give your suggestions a try and get back to you. Apart from being annoying in this case, I guess having the manual enabled could also be considered a security risk so is all the more reason to get rid of it?

  #7  
Old 09-26-2008, 02:01 PM
david510 david510 is offline
Web Hosting Master
 
Join Date: Oct 2004
Location: Kerala, India
Posts: 4,708
The site is getting redirected, as there is a global Alias for manual. Override it by adding an additional line in the virtual host entry of the domain and restart apache.

__________________
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android

Reply

Related posts from TheWhir.com
Title Type Date Posted
Apache Market Share Falls in Netcraft October Web Server Survey Web Hosting News 2013-10-04 14:34:11
Apache Market Share Dips Slightly in June Netcraft Web Server Survey Web Hosting News 2013-06-06 13:40:21
Apache Continues to Dominate Web Server Market in Netcraft May Survey Web Hosting News 2013-05-06 14:29:02
Researchers Urge System Admins to Check for New Apache Web Server Backdoor Malware Web Hosting News 2013-05-01 11:35:53
CloudStack 4.0 Open Source Cloud Software Released as Apache Incubator Project Web Hosting News 2012-11-08 13:54:10


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?