Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

[.htassecc] Problem with configuration

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
SSL Problem - Hi, I have a problem with the of Apache. When I start httpd I have this error : --- could not bind to address no listening sockets shutting down --- I want to disable the https because my port 443 is..

%3F / ? problem - Hi, I'm getting loads of 404s because Googlebot is %3F for the ? symbol, ie :- 200 is being by google as 404 However pages %20 are working fine, ie :- ..

Problem with "/" - Why my apache give me an error if i don't write at the and of URL in the Brower ? How parameter I must set for don't write ? Thanx to all ... and sorry for my English ;-) bruce

SSL Problem - Hi All, SSL cert was installed on virtual host apache mod web server but none of the images for the site show up. when looking at the direct link to the image file I get an error 403 message. ie works fine..

problem with cgi - Hello, I would like to test my at the apache server but it doesn't work properly instead of the result of the cgg-sript I get a message if I want to download the file. Is there an easy way to solve this problem. (it's just for testing the..
Next:  Apache: 2MB upload limit problem - all usual solutions tried  
Author Message
news70

External


Since: Apr 05, 2004
Posts: 3



(Msg. 1) Posted: Mon Apr 05, 2004 2:56 pm
Post subject: [.htassecc] Problem with configuration
Archived from groups: alt>apache>configuration (more info?)

Hello,

I'm working with Xampp on Windows XP.
I use Apache for testing websites with php.
Because i cannot change the httpd.conf of my Websiteprofider i also on
my machine only use the .htaccess for making configuration.
Now my Problem:
I develop my pages in a different directory then the apache directory.
Apache is installed under: "D:/Programme/XAMPP"
The standard documentroot is: "D:/Programme/XAMPP/htdocs"

I have configured a virtual host:

NameVirtualHost *:80
<VirtualHost *:80>
ServerName localhost
DocumentRoot "D:/Programme/XAMPP/htdocs"
</VirtualHost>
<VirtualHost *:80>
ServerName mywebseite.invalid
DocumentRoot "D:/Daten/Entwicklung/HTML/SDN"
ErrorLog logs/mywebseite.invalid.error.log
CustomLog logs/mywebseite.invalid.access.log common
</VirtualHost>

I habe a .htaccess file in the root of the website:

AddType application/x-httpd-php .php .php4 .html .htm

Now, if i try my webseite with "mywebseite.invalid" the php-Code in the
index.html isn't processed.

When i copy the hole webseite under: "D:/Programme/XAMPP/htdocs/SDN" und
try it with "localhost/sdn" it works perfect and the .htaccess has the
effect that i expect.

Can somebody help me?

Regards

Martin

 >> Stay informed about: [.htassecc] Problem with configuration 
Back to top
Login to vote
user2348

External


Since: Jun 28, 2003
Posts: 203



(Msg. 2) Posted: Mon Apr 05, 2004 2:56 pm
Post subject: Re: [.htassecc] Problem with configuration [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Martin Burchard" <news DeleteThis @martin-burchard.de> wrote in message
news:c4ragq$2l6m7d$1@ID-156006.news.uni-berlin.de...

 > When i copy the hole webseite under: "D:/Programme/XAMPP/htdocs/SDN" und
 > try it with "localhost/sdn" it works perfect and the .htaccess has the
 > effect that i expect.

Check you have AllowOverride set for this other directory.
See: <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/mod/core.html#allowoverride" target="_blank">http://httpd.apache.org/docs-2.0/mod/core.html#allowoverride</a>

You may already have one in your config to allow it for your document root tree,
but not one for the other directory tree.

Failing that, do your logs show anything?

Richard.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: [.htassecc] Problem with configuration 
Back to top
Login to vote
news70

External


Since: Apr 05, 2004
Posts: 3



(Msg. 3) Posted: Mon Apr 05, 2004 3:44 pm
Post subject: Re: [.htassecc] Problem with configuration [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Richard Antony Burton schrieb:

 > Check you have AllowOverride set for this other directory.
<font color=purple> > See: <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/mod/core.html#allowoverride</font" target="_blank">http://httpd.apache.org/docs-2.0/mod/core.html#allowoverride</font</a>>
 >
 > You may already have one in your config to allow it for your document root tree,
 > but not one for the other directory tree.

Thank You thats it Smile

Regards

Martin<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: [.htassecc] Problem with configuration 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]