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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:12:47+00:00 2026-05-28T20:12:47+00:00

I read about Zend_Controller_Router_Route_Hostname, but i havent idea how. i try to use it

  • 0

I read about Zend_Controller_Router_Route_Hostname, but i havent idea how.
i try to use it, zend documentation. But when i try to open someoneusername.localhost/ my browser dont found nothing.( Oops! Google Chrome could not find … ).

i verified my .htaccess

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

and vhost config

<VirtualHost *:80>
     ServerAdmin webmaster@localhost
     ServerName localhost   
     DocumentRoot "/var/www/zendtest/public"
     <Directory "/var/www/zendtest/public">
         Options Indexes FollowSymLinks MultiViews
         DirectoryIndex index.php
         AllowOverride All
         Order allow,deny
         Allow from all
     </Directory>   
     ErrorLog ${APACHE_LOG_DIR}/error-localhost.log
     CustomLog ${APACHE_LOG_DIR}/access-localhost.log combined
</VirtualHost>

hosts file

127.0.0.1    localhost

please someone help me.

  • 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-28T20:12:48+00:00Added an answer on May 28, 2026 at 8:12 pm

    Assuming everything else has been configured correctly, you’ll want to change your VirtualHost Directive:

    ServerName localhost
    

    to

    ServerName localhost
    ServerAlias *.localhost
    

    and then restart apache.
    I’m afraid you’re out of luck with the hosts file (wildcards unsupported)
    See the link for alternatives.

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

Sidebar

Related Questions

I've read all posts about routing and Zend Documentation but I still can't solve
I read about ContactsContract.CommonDataKinds.GroupMembership , but I can't figure out what URI use to
I read about improving site perforamance and tried to use some of them, but
I have read many posts about setting up unit testing in Zend Framework and
I read about the popup menu in the documentation here . I'm not clear
I read about JSON from internet but still i have not got the grasp
I read about child actions in MVC (fundamental book), but I don't really know
I read about Google Cloud Messaging for Android (GCM) and I liked it but
I have been using the Zend Framework with an MVC configuration, read about Ruby
I read about a string/word that did so the Routing crashed but I can't

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.