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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T01:26:21+00:00 2026-06-06T01:26:21+00:00

Pretty confused right now, while i feel i know a bit about vhosts this

  • 0

Pretty confused right now, while i feel i know a bit about vhosts this has confused me for no end of time and i thought i’ll seek help after so long :p

I turn off 1 vhost and phpmyadmin will work locally, turn this vhost back on, phpmyadmin ends up at this webpage with my 404 for the site. the vhost in question:

<VirtualHost 127.0.0.1>
DocumentRoot /var/www/mayfieldafc/docroot
ServerName mayfieldafc.com
ServerAlias mayfieldafc.local
#CustomLog logs/mayfieldafc-transfer.log combined
#ErrorLog logs/mayfieldafc-error.log

php_value include_path "/usr/share/php:/var/www/mayfieldafc"
php_value error_reporting 2047
php_flag magic_quotes_gpc off
php_flag short_open_tag off

DirectoryIndex index.php index.html

<Directory /var/www/mayfieldafc/docroot>
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

RewriteEngine on
#RewriteLogLevel 9
#RewriteLog /var/log/mod_rewrite.log

# Dispatcher wiring
RewriteCond %{REQUEST_URI} !dispatch\.php$
RewriteCond /var/www/mayfieldafc/docroot%{REQUEST_FILENAME} !-f
RewriteRule ^(/.*)$ /dispatch.php?url=$1 [L,QSA]

</VirtualHost>

<VirtualHost 127.0.0.1>
DocumentRoot /var/www/mayfieldafc/docroot
ServerName assets.mayfieldafc.com
ServerAlias assets-mayfieldafc.local
#CustomLog logs/mayfieldafc-transfer.log combined
#ErrorLog logs/mayfieldafc-error.log

DirectoryIndex index.php index.html

<Directory /var/www/mayfieldafc/docroot>
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
</VirtualHost>

If anybody knows anything about vhosts and phpmyadmin i’d love you forever 😀

  • 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-06T01:26:23+00:00Added an answer on June 6, 2026 at 1:26 am

    In the end nothing i could change in my vhost settings was working so i went with the obvious answer.

    I just created a separate vhost with a

    servername phpmyadmin.local
    

    and just pointing the document to myphpadmin on my hard drive and all was good.

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

Sidebar

Related Questions

I'm rather confused right now about exactly how many unique ids MongoDB could generate
I'm kinda confused right now with this function I'm trying to edit. I would
I am somewhat confused right now with a obviously pretty simple regex but it
I'm pretty sure I am a bit confused here (I'm even confused about being
I'm pretty confused on how to go about this. Say I have two columns
I'm pretty confused about this one. Given the following xml: <sch:eventList> <sch:event> <sch:eventName>Event One</sch:eventName>
This seems like it should be pretty straight forward, but I'm apparently confused. I
I am very new to JSF, and I am pretty confused about the best
Right now I have a Java application running WMI querying event logs, this is
Hey there! I'm doing this project and right now I'm trying to: create some

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.