Solved

.htaccess file blocks virtual website

Posted on 2002-05-21
3
179 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

740 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