Welcome Guest!

If you do not have an account yet on The Web Squeeze forums, please Register! It’s FREE and there are many benefits:

  • Receive Fast Advice
  • Learn Programming Languages
  • Get Professional Website Reviews
  • Quick Troubleshooting Assistance

> .htaccess Files And A Windows Server

This is a discussion on .htaccess Files And A Windows Server, within the Beginners' Questions section. This forum and the thread ".htaccess Files And A Windows Server" are both part of the Designing Your Website category.

 
Reply to this topicStart new topic
> .htaccess Files And A Windows Server, oh gawd!
Popje
post May 1 2008, 09:29 PM
Post #1


Rapid Squeezer
****

Group: Members
Posts: 199
Joined: 15-February 08
From: Plymouth
Member No.: 153



Heya

I'm having a slight disagreement with my webserver and it's winning. I've put an .htaccess file with
CODE
AddHandler server-parsed .html
added to it. However, it still won't display my little SSI.

So, the question is, am I doing something wrong again, or doesn't Windows allow you to change the file, or does it just ignore the file?

Thank you in advance scratch_one-s_head.gif


--------------------
QUOTE
I'm challenged enough without any extra weirdness in my life!
Go to the top of the page
 
+Quote Post
rewake
post May 1 2008, 10:08 PM
Post #2


Rapid Squeezer
****

Group: Mentor
Posts: 204
Joined: 14-February 08
From: NY, USA
Member No.: 127



Hi!

So are you using Apache or IIS on the windows server? IIS doesn't use .htaccess files, which may be your problem.

Rich


--------------------
QUOTE
if ($name=='will') echo '/(bb|[^b]{2})/';

Raineri Jewelers | MySpace | Facebook | deviantART
Go to the top of the page
 
+Quote Post
Popje
post May 1 2008, 10:36 PM
Post #3


Rapid Squeezer
****

Group: Members
Posts: 199
Joined: 15-February 08
From: Plymouth
Member No.: 153



QUOTE (rewake @ May 2 2008, 04:08 AM) *
Hi!

So are you using Apache or IIS on the windows server? IIS doesn't use .htaccess files, which may be your problem.

Rich

Heya girl_smile.gif

scratch_one-s_head.gif blink.gif How would I find this out?? I've just found it, and it's bad news for me.
Microsoft Server Win2003/IIS 6.0 managed by Microsoft Certified Systems Engineers
Should I be throwing myself on the floor screaming/kicking/flailing/crying yet?

I did try to create a php include, named the page index.php and it wasn't happy. I got scared and went back to something that I knew worked before... only to have it pitch a fit!

Is this really bad??!!?? Do I need to get the helmet out of the bag??

This post has been edited by Popje: May 1 2008, 10:45 PM


--------------------
QUOTE
I'm challenged enough without any extra weirdness in my life!
Go to the top of the page
 
+Quote Post
Mark
post May 1 2008, 11:24 PM
Post #4


Don deluzione
*****

Group: Team Leaders
Posts: 827
Joined: 13-February 08
From: 10km from nowhere and just south of nothing
Member No.: 7



I try to avoid Windows servers as much as I can. One reason is that they usually don't support .htaccess.

I'd try to migrate to a descent Linux server smile.gif


--------------------
My portfolio : Poppen.ca
My Blog : Mark.Poppen.ca
Go to the top of the page
 
+Quote Post
Antti
post May 2 2008, 01:08 AM
Post #5


Rapid Squeezer
****

Group: Members
Posts: 214
Joined: 15-February 08
From: Finland
Member No.: 139



Nothing wrong with Windows servers. Just a different environment than linux. If you're trying to get PHP working on IIS server, you may find this usefull: http://www.iis.net/php


--------------------
anttisimonen.com - .NET developer

anttis.wordpress.com - Blog
Go to the top of the page
 
+Quote Post
rewake
post May 2 2008, 10:20 AM
Post #6


Rapid Squeezer
****

Group: Mentor
Posts: 204
Joined: 14-February 08
From: NY, USA
Member No.: 127



QUOTE
Do I need to get the helmet out of the bag??


Well, not just yet, but keep it close!

So, you're basically trying to make OJ by squeezing lemons. IIS doesn't natively support PHP, which is why you can't include() the file. As for the <!-- #include -->, you may not have ASP turned on, which is why it's not working? I haven't used IIS or ASP in years.

What's the story? Is this on your local machine or is this on a host somewhere?

Rich


--------------------
QUOTE
if ($name=='will') echo '/(bb|[^b]{2})/';

Raineri Jewelers | MySpace | Facebook | deviantART
Go to the top of the page
 
+Quote Post
Popje
post May 2 2008, 12:13 PM
Post #7


Rapid Squeezer
****

Group: Members
Posts: 199
Joined: 15-February 08
From: Plymouth
Member No.: 153



QUOTE (Telos @ May 2 2008, 07:08 AM) *
Nothing wrong with Windows servers. Just a different environment than linux. If you're trying to get PHP working on IIS server, you may find this usefull: http://www.iis.net/php

Thanks for this, it makes for really interestingreading. However, to be honest, it appears to be way to advanced for me to try to set up right now! I'm a total beginner and I'd get into serious trouble if I messed up the server for the site. My boss would string me up, even if he is my brother in law!!

This post has been edited by Popje: May 2 2008, 03:33 PM


--------------------
QUOTE
I'm challenged enough without any extra weirdness in my life!
Go to the top of the page
 
+Quote Post
Antti
post May 2 2008, 12:25 PM
Post #8


Rapid Squeezer
****

Group: Members
Posts: 214
Joined: 15-February 08
From: Finland
Member No.: 139



Usually if you need just php (mysql) it's better to go with linux/apache and if you plan to go with asp(.net) (ms sql server) then choose windows. I've had also some problems with iis/php combination so choose the platform based on what you need.


--------------------
anttisimonen.com - .NET developer

anttis.wordpress.com - Blog
Go to the top of the page
 
+Quote Post
Popje
post May 2 2008, 03:40 PM
Post #9


Rapid Squeezer
****

Group: Members
Posts: 199
Joined: 15-February 08
From: Plymouth
Member No.: 153



QUOTE (rewake @ May 2 2008, 04:20 PM) *
Well, not just yet, but keep it close!

So, you're basically trying to make OJ by squeezing lemons. IIS doesn't natively support PHP, which is why you can't include() the file. As for the , you may not have ASP turned on, which is why it's not working? I haven't used IIS or ASP in years.

What's the story? Is this on your local machine or is this on a host somewhere?

Rich

<-- it's out of the bag and next to me on the table as I type!

It's hosted, here's a screenshot of the control panel settings for ASP:


I've tried the Repair settings thing, but still get the 500 Internal Server Error. It's taunting me!!!

OJ from lemons *sigh* story of my life right now! girl_impossible.gif

If I can't use SSI, or PHP - basically I can't have repeat information (header, menu and footer) inserted can I? Bummer.


--------------------
QUOTE
I'm challenged enough without any extra weirdness in my life!
Go to the top of the page
 
+Quote Post
Mark
post May 2 2008, 04:53 PM
Post #10


Don deluzione
*****

Group: Team Leaders
Posts: 827
Joined: 13-February 08
From: 10km from nowhere and just south of nothing
Member No.: 7



QUOTE (Popje @ May 2 2008, 02:40 PM) *
<-- it's out of the bag and next to me on the table as I type!

It's hosted, here's a screenshot of the control panel settings for ASP:


I've tried the Repair settings thing, but still get the 500 Internal Server Error. It's taunting me!!!

OJ from lemons *sigh* story of my life right now! girl_impossible.gif

If I can't use SSI, or PHP - basically I can't have repeat information (header, menu and footer) inserted can I? Bummer.

[off topic] which FF plugin is that for your musicplayer? [/off topic]


--------------------
My portfolio : Poppen.ca
My Blog : Mark.Poppen.ca
Go to the top of the page
 
+Quote Post
Popje
post May 2 2008, 06:10 PM
Post #11


Rapid Squeezer
****

Group: Members
Posts: 199
Joined: 15-February 08
From: Plymouth
Member No.: 153



QUOTE (delusion @ May 2 2008, 10:53 PM) *
[off topic] which FF plugin is that for your musicplayer? [/off topic]

[off topic] it's Foxy Tunes - now everyone can see I was listening to Scissor Sisters at the time!! I forgot about that![/offtopic]

This post has been edited by Popje: May 2 2008, 06:11 PM


--------------------
QUOTE
I'm challenged enough without any extra weirdness in my life!
Go to the top of the page
 
+Quote Post
If you found The Web Squeeze to be helpful, please donate so we can keep this site FREE, FRESH, and fortified with Web Design & Development info!
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   9 4lun 169 22nd February 2008 - 01:27 PM
Last post by: thesealportalteam
No New Posts   8 Mark 281 10th March 2008 - 04:33 PM
Last post by: Jacob
No New Posts   4 Monie 198 20th June 2008 - 02:48 AM
Last post by: 4lun
No New Posts   3 Mark 91 1st April 2008 - 08:47 AM
Last post by: JustinStudios
No New Posts   10 unitedcraig 190 18th April 2008 - 03:14 PM
Last post by: paintingtheweb