0

I am configuring website outside the htdocs and I did all changes what are describe here Virtual Host. But partially it done but routes are not working. Only Home page showing. rest of page showing Object not found!.

like

<VirtualHost *:81>
DocumentRoot "C:\DevlopmentApps\VirtualMarket"
ServerName sjb.localhost
<Directory C:\DevlopmentApps\VirtualMarket>
   Options Indexes 
   AllowOverride none
   Require all granted
</Directory>

Now

http://sjb.localhost:81/sjb is working
http://sjb.localhost:81/sjb/find/ not working
Community
  • 1
  • 1
shaair
  • 945
  • 12
  • 24

1 Answers1

0

Now i figure out some thing that other should be aware with.

If want to configure outside the htdocs the need to do following steps in the follwong link

Virtual host

Here is some thing Deprecated. https://stackoverflow.com/questions/9110179/adding-virtualhost-fails-access-forbidden-error-403-xampp-windows-7?answertab=votes#tab-top

<Directory ..........>
    # AllowOverride All      # Deprecated
    # Order Allow,Deny       # Deprecated
    # Allow from all         # Deprecated

    # --New way of doing it
    Require all granted    
</Directory>

Now one thing which fixed my issue is

Options All
AllowOverride All
Require all granted
Community
  • 1
  • 1
shaair
  • 945
  • 12
  • 24