Solved

.htaccess file blocks virtual website

Posted on 2002-05-21
3
175 Views
Last Modified: 2010-03-04
Hi,

I have an odd problem with my apache.
When I put an empty .htaccess in mu virtual web site the site isn't accesible at all.

Even if I use a working htaccess file still the same problem occurs.

What can be the problem here?

greetz

Raymond
0
Comment
Question by:rdno
3 Comments
 
LVL 6

Accepted Solution

by:
andreif earned 50 total points
ID: 7023877
What do you get when trying open site in browser?
Does apache log say anything about this? Check both general apache log and virtual host's one.
Is there right permissions set for .htaccess? It must be readable for webserver
0
 
LVL 15

Expert Comment

by:samri
ID: 7026257
Check the error_log as recommended by andreif.

If you copied over the working htaccess file, make sure the AuthUserFile is pointing the a valid file.  And try to use "Sarisfy any" first.  If it works, then remove the Satisft directive.

Again, the error log should be helpful.
0
 

Author Comment

by:rdno
ID: 7026275
I posted a reply yesterday, but an error occured :o(

I don't use authentication in the .htaccess file, but only rewrite rules. That was the major problem. in the site the option FollowSymLinks was not enabled which is needed by mod_rewrite.
The error log showed this. I though I looked at it already, but I must have skipped this error.

greets,

Raymond

p.s. the apache text message "access denied" appeared.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now