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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:46:56+00:00 2026-05-24T11:46:56+00:00

I seting up LAMP on my ubuntu box. I have only changed the sites-available-default/default

  • 0

I seting up LAMP on my ubuntu box. I have only changed the sites-available-default/default

 <VirtualHost *:80>
    ServerAdmin webmaster@localhost

    DocumentRoot /home/user/Dropbox/www/
    <Directory />
        Options FollowSymLinks
        AllowOverride None
    </Directory>
    <Directory /home/user/Dropbox/www/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        allow from all
    </Directory>

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
        AllowOverride None
        Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog ${APACHE_LOG_DIR}/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>

When I connect to my localhost I get a file in return. A PHTML with the index.php code.

When I connect to connect to http://192.168.1.133 I get a Forbidden error..

I assume it has something to do with permission and security, but not how to fix it.

  • 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-24T11:46:56+00:00Added an answer on May 24, 2026 at 11:46 am

    I had the same problem, and it was because of a missing php module for apache.

    $ dpkg -l | grep apache
    ii  apache2                               2.2.17-1ubuntu1                            Apache HTTP Server metapackage
    ii  apache2-mpm-prefork                   2.2.17-1ubuntu1                            Apache HTTP Server - traditional non-threaded model
    ii  apache2-suexec                        2.2.17-1ubuntu1                            Standard suexec program for Apache 2 mod_suexec
    ii  apache2-threaded-dev                  2.2.17-1ubuntu1                            Apache development headers - threaded MPM
    ii  apache2-utils                         2.2.17-1ubuntu1                            utility programs for webservers
    ii  apache2.2-bin                         2.2.17-1ubuntu1                            Apache HTTP Server common binary files
    ii  apache2.2-common                      2.2.17-1ubuntu1                            Apache HTTP Server common files
    ii  libapache2-mod-auth-mysql             4.3.9-13ubuntu1                            Apache 2 module for MySQL authentication
    ii  libapache2-mod-php5                   5.3.5-1ubuntu7.2                           server-side, HTML-embedded scripting language (Apache 2 module)
    

    I think (not sure) that libapache2-mod-php5 is the essential package to run php files with apache. So, make sure at least you have this one installed, and search a little about which packages to install to have a full php/apache installation. If you are installing xampp, download the most recent version and make sure you install it as root.

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

Sidebar

Related Questions

I have installed Ubuntu Server 10 on a virtual machine (VMWare) and I have
I have a LAMP server (Quad Core Debian with 4GB RAM, Apache 2.2 and
I'm setting up a ubuntu LAMP server on EC2, can anyone recommend a simple
I'm dealing with a LAMP web server. I have forms that users use to
I have a LAMP application that needs to accept external data sources from our
I have a LAMP web application that emails users. Some users have complained that
I'm using ubuntu 10.10, and after making the mistake of installing LAMP, (was unable
For quite a while I have worked in the LAMP stack. But now I
I am seting up an existing rails project. But found an error below on
Setting up a project structure; I am thinking is it better to have somewhat

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.