Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7603219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T23:36:32+00:00 2026-05-30T23:36:32+00:00

I have always understood (unless im mistaken) that Apache’s modrewrite engine requires Options +FollowSymLinks

  • 0

I have always understood (unless im mistaken) that Apache’s modrewrite engine requires

Options +FollowSymLinks

in order to work.

We have used modrewrite to hide the .php extension in addresses on a particular system in order to not reveal the chosen technology – PHP. We understand that one can still learn the server technology but you’d at least need to know how web servers work etc.

The problem is, the server tech’s have brought up the risk in using +FollowSymLinks which i completely understand and agree with.

https://serverfault.com/questions/195570/htaccess-security

Aaron Copley: Symlinks aren’t necessarily bad but you have to have a clear understanding of your implementation of Apache. To a non-chrooted
Apache, symlinks certainly pose a significant risk to exposing files
outside of your document root.

At the moment the system parses REQUEST_URI as such:
All rewrite rules are written to index.php

URL domain.com/request
REQUEST_URI = /request (trimmed as "request")
Using PHP switch () we check case 'request' : inlclude xyz.php;
exit;

This is a fairly common technique, but how would i implement the same result without the need for +FollowSymLinks and without having to go through every script in the system and change navigation links?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T23:36:33+00:00Added an answer on May 30, 2026 at 11:36 pm

    modrewrite will also work if you enable the following:

    Options +SymlinksIfOwnerMatch
    

    This causes Apache to check the owner of the link and the target, and only follows the link if the owners match.

    Perhaps your server guys would accept that as a reduced risk?

    More info here: http://onlamp.com/pub/a/apache/2004/02/19/apache_ckbk.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have always thought that in order to connect to SQL server using windows
In OpenGL I have always understood that glEnable(GL_TEXTURE_1D) , glEnable(GL_TEXTURE_2D) and/or glEnable(GL_TEXTURE_3D) (and corresponding
I have always been a bit unclear on the type of tasks that should
I've always understood that each number in the version (ex: 1.2.3.4) is treated as
I always thought I understood how this works...but lately I have started really using
I always thought I understood how OOP works (and I have been using it
In my learning I have always learnt and understood callbacks in jQuery like this:
Meanwhile reading on the internet I learned that static variables always have the same
I have always understood there to be two types of equality in Java, value
I have multiple dynamically created anchor tags that work as buttons. When any of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.