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

  • SEARCH
  • Home
  • 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 8602403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:04:39+00:00 2026-06-12T02:04:39+00:00

I am trying to allow sub urls on my apache/rails/phusion passenger install so that

  • 0

I am trying to allow sub urls on my apache/rails/phusion passenger install so that I can have php files at the top level and then rails apps in sub directories like blog for example:

I’ve followed the documentation here: http://www.modrails.com/documentation/Users%20guide%20Apache.html#deploying_rails_to_sub_uri

here is my httpd.conf virtual host entry:

<VirtualHost *:80>
ServerName xx.xx.xx.xx
DocumentRoot /var/www/html
<Directory /var/www/html>
Allow from all
</Directory>
RailsBaseURI /blog
<Directory /var/www/html/blog>   
Options -MultiViews               
</Directory>   
</VirtualHost>

the apache user owns /var/www/html and here is my shortcut link:
http://d.pr/i/aLkP made with the ln command

and here is the error: http://d.pr/i/M3r4

  • 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-06-12T02:04:40+00:00Added an answer on June 12, 2026 at 2:04 am

    The apache group must also be able to read and execute the the config and public folders and all parent folders. Try changing the permissions and restarting apache.

    Your symlink should have the same name as the suburl, so your symlink should be named “blog”. It looks like it’s named “public” right now. You may want to place your symlinks in a separate folder in your www directory.

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

Sidebar

Related Questions

I am really trying to follow the DRY principle. I have a sub that
Im trying to write a generic base class that will allow sub classes to
I am trying to create a Public Sub / Function that will allow me
I'm trying to allow my php pages to run inside a content page of
Please allow me to explain what I have and what I am trying to
'm trying to make a small modification to django lfs project, that will allow
I'm trying to create a generic data model that will allow for a particular
I am trying to implement an IAM policy where A user can only have
Hey I am trying to do a sub query that allows me to get
I am trying to come up with a formula that can be run in

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.