Apache Configuration

Steve Phariss sphariss at gmail.com
Wed Jul 6 21:01:29 MST 2011


Yes Document root has been changed.  /var/www/html is not used in the sense
that there is no content in it, and documentroot has been changed.

On Wed, Jul 6, 2011 at 7:49 PM, Kevin Brown <kevin_brown at qwest.net> wrote:

> Not used in what sense? It is the default Document Root location that most
> RPM based distros have set by default for Apache.
>
> Have you changed the Document Root in the /etc/apache2/conf/httpd.conf (or
> wherever it is hidden)?
>
>  I realize that but it is the configuration I need to test...  there is a
>> /var/www/html, but it is not used
>>
>>
>>
>> On Wed, Jul 6, 2011 at 6:17 PM, Kevin Brown <kevin_brown at qwest.net
>> <mailto:kevin_brown at qwest.net>**> wrote:
>>
>>    IIRC the default root location for documents is /var/www/html not
>>    /var/www.
>>
>>
>>        I have a test apache install with several Virtual hosts,  I am
>>        trying to
>>        install myPhpAdmin in a directory off of /var/www but I can not
>>        get it
>>        to be recognized (404 error)
>>
>>        the virtual host contents are in directories off of /var/www (i.e.
>>        /var/www/www.myurl.com <http://www.myurl.com>
>>        <http://www.myurl.com> and
>>
>>        /var/www/phpMyAdmin-3.4.3.1-__**english
>>
>>        The server is working correctly and serving the appropriate
>>        domains, I
>>        just can not get www.myurl.com/phpMyAdmin-3.4._**_3.1-english<http://www.myurl.com/phpMyAdmin-3.4.__3.1-english>
>>        <http://www.myurl.com/**phpMyAdmin-3.4.3.1-english<http://www.myurl.com/phpMyAdmin-3.4.3.1-english>
>> >
>>        <http://www.myurl.com/__**phpMyAdmin-3.4.3.1-english<http://www.myurl.com/__phpMyAdmin-3.4.3.1-english>
>>        <http://www.myurl.com/**phpMyAdmin-3.4.3.1-english<http://www.myurl.com/phpMyAdmin-3.4.3.1-english>>>
>> to work......
>>
>>
>>        Any help would be great......
>>
>>        <VirtualHost *:80>
>>             ServerAdmin *********************
>>             ServerName www.myurl.com <http://www.myurl.com>
>>        <http://www.myurl.com>
>>
>>             DirectoryIndex index.html #index.mhtml
>>             DocumentRoot /var/www/www.myurl.com <http://www.myurl.com>
>>        <http://www.myurl.com>
>>
>>             AddType  text/html  .html #.mhtml
>>                 # Set Perl Variable SiteName with name of site for
>>        handler.pl <http://handler.pl>
>>        <http://handler.pl>
>>                 #PerlSetVar site myurl
>>                 #PerlRequire /var/www/handler.pl <http://handler.pl>
>>        <http://handler.pl>
>>
>>        <LocationMatch
>>        "(\.html|\.txt|\.pl|\.mhtml|__**dhandler|autohandler)$">
>>               #SetHandler perl-script
>>               #PerlHandler HTML::Mason
>>        </LocationMatch>
>>        <DirectoryMatch "/var/www/phpMyAdmin-3.4.3.1-_**_english">
>>               AllowOverride All
>>               Options None
>>               Order allow,deny
>>               Allow from all
>>        </DirectoryMatch>
>>             ScriptAlias /cgi-bin/ "/var/www/www.myurl.com/cgi-__**bin/<http://www.myurl.com/cgi-__bin/>
>>        <http://www.myurl.com/cgi-bin/**>
>>        <http://www.myurl.com/cgi-bin/**__<http://www.myurl.com/cgi-bin/__>
>> >"
>>        <Directory "/var/www/www.myurl.com/cgi-__**bin<http://www.myurl.com/cgi-__bin>
>>        <http://www.myurl.com/cgi-bin> <http://www.myurl.com/cgi-bin>**
>> __">
>>
>>
>>               AllowOverride All
>>               Options None
>>               Order allow,deny
>>               Allow from all
>>        </Directory>
>>             ErrorLog syslog:local1
>>             ErrorLog /var/log/httpd/www.myurl.com
>>        <http://www.myurl.com>.__error
>>
>>        CustomLog /var/log/httpd/www.myurl.com
>>        <http://www.myurl.com>.__**access common
>>
>>        </VirtualHost>
>>
>>        <VirtualHost *.80>
>>        .
>>        .
>>        .
>>        </VirtualHost>
>>
>>
>>
>>        ------------------------------**__---------------------
>>        PLUG-discuss mailing list -
>>        PLUG-discuss at lists.plug.__phoe**nix.az.us <http://phoenix.az.us>
>>        <mailto:PLUG-discuss at lists.**plug.phoenix.az.us<PLUG-discuss at lists.plug.phoenix.az.us>
>> >
>>
>>        To subscribe, unsubscribe, or to change your mail settings:
>>        http://lists.PLUG.phoenix.az._**_us/mailman/listinfo/plug-__**discuss
>> <http://lists.PLUG.phoenix.az.**us/mailman/listinfo/plug-**discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>
>> >
>>
>>
>>
>>    ------------------------------**__---------------------
>>    PLUG-discuss mailing list - PLUG-discuss at lists.plug.__phoe**nix.az.us<http://phoenix.az.us>
>>    <mailto:PLUG-discuss at lists.**plug.phoenix.az.us<PLUG-discuss at lists.plug.phoenix.az.us>
>> >
>>
>>    To subscribe, unsubscribe, or to change your mail settings:
>>    http://lists.PLUG.phoenix.az._**_us/mailman/listinfo/plug-__**discuss
>>    <http://lists.PLUG.phoenix.az.**us/mailman/listinfo/plug-**discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>
>> >
>>
>>
>>
>>
>> ------------------------------**---------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.**phoenix.az.us<PLUG-discuss at lists.plug.phoenix.az.us>
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.**us/mailman/listinfo/plug-**discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>
>>
>
> ------------------------------**---------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.**phoenix.az.us<PLUG-discuss at lists.plug.phoenix.az.us>
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.**us/mailman/listinfo/plug-**discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20110706/95abedfa/attachment.html>


More information about the PLUG-discuss mailing list