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 9141715
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:40:55+00:00 2026-06-17T09:40:55+00:00

I am reading a book about Ruby on Rails and now I have to

  • 0

I am reading a book about “Ruby on Rails” and now I have to deploy my application using Apache and Passenger. Everything seems to be installed properly but when I have finally add the following code in the Apache config file:

<VirtualHost *:80>
   ServerName depot.yourhost.com
   DocumentRoot /home/gotqn/Aptana Projects/depot/public/

   <Directory /home/gotqn/Aptana Projects/depot/public>
      AllowOverride all
      Options -MultiViews
      Order allow,deny
      Allow from all
   </Directory>
</VirtualHost>

and try to restart the Apache:

$ sudo apachectl restart

I get the following error:

Syntax error on line 245 of /etc/apache2/apache2.conf:

DocumentRoot takes one argument, Root directory of the document tree

Action ‘restart’ failed.

The Apache error log may have more information.

The line 245 refers to the following line:

DocumentRoot /home/gotqn/Aptana Projects/depot/public/

Any ideas what I have done wrong?

  • 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-17T09:40:56+00:00Added an answer on June 17, 2026 at 9:40 am

    Spaces are not allowed in this line, just put the whole path in double quotes

    DocumentRoot "/home/gotqn/Aptana Projects/depot/public/"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm reading a book about Ruby/Rails and have a question about something simple. In
I was reading through rails tutorial (http://ruby.railstutorial.org/book/ruby-on-rails-tutorial#sidebar-database_indices) but confused about the explanation of database
I have some question about arrays, I'm reading some book about Java, and now
I am reading a book about Ruby on Rails and one of the task
I'm reading Chris Pine's book Learn to Progam (it's about Ruby). Right now I'm
I'm reading through a book about the C# Task Parallel Library and have the
I'm reading Martin Fowler's Book about enterprise application architecture design patterns, but the German
I have been reading a book about network programming but I am confused about
I just started reading this book Eloquent Ruby and I have reached the chapter
I am reading a book about ruby, it learn me that I write my

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.