Solved

.htaccess file blocks virtual website

Posted on 2002-05-21
3
178 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

735 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