You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Gary <ga...@comcast.net> on 2005/04/25 17:18:16 UTC

[users@httpd] What editor to edit config files with Windows XP?

I have Windows XP running Apache 2.0.54.

When I edit my hosts, httpd, and other files, I use notepad. When I save the
files, they become .txt files. Should I be using some other editor to
correctly save the files as other than .txt? I notice some things do not
work correctly and am thinking this may be the issue I am having?

Virtual hosts does not work although I have them set exactly as various
examples in Apache docs and elsewhere on the web. Also I can get to the
apache start page ok using 127.0.0.1 but not using localhosts.

In my hosts file, I have "127.0.0.1 localhost" as the first line.

My virtual hosts are set up as follows:

#
#Use name-based virtual hosting.
#
NameVirtualHost *:80

<VirtualHost *:80>
 DocumentRoot C:/www/Apache2/htdocs/dreammaster
 ServerName www.dreammaster.info
 ServerAlias dreammaster.info dreammaster
 ErrorLog logs/dreammaster.log
</VirtualHost>

<VirtualHost *:80>
 DocumentRoot C:/www/Apache2/htdocs/owlnet
 ServerName www.owlnet.net
 ServerAlias owlnet.net owlnet
 ErrorLog logs/owlnet.log
</VirtualHost>

Those are the correct paths to root documents, etc. yet virtual hosts does
not work in that I can not get to either using:

http://127.0.0.1/owlnet
http://127.0.0.1/owlnet.net
http://www.owlnet.net
etc

All tests for php, mysql, perl, etc work at http://127.0.0.1/whatever test.

My main reason for installing apache is to have a test server to use for
building websites under Dreamweaver. IIS wasn't cutting it for me.

Thanks for any help. 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Re: What editor to edit config files with Windows XP?

Posted by MELindberg <we...@darkdezigns.com>.
I would recommend you use EditPad {lite or pro}. No control character 
issues.

BR
Myron Lindberg

Joost de Heer wrote:

>>When I edit my hosts, httpd, and other files, I use notepad. When I save
>>the
>>files, they become .txt files. Should I be using some other editor to
>>correctly save the files as other than .txt?
>>    
>>
>
>There's a dropdown box below the filename, called 'Save as type' when you
>save. Set this to 'all files', instead of 'text documents (*.txt)'. This
>should fix the automagically added .txt extension.
>
>Joost
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>  
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: What editor to edit config files with Windows XP?

Posted by Joost de Heer <sa...@xs4all.nl>.
> When I edit my hosts, httpd, and other files, I use notepad. When I save
> the
> files, they become .txt files. Should I be using some other editor to
> correctly save the files as other than .txt?

There's a dropdown box below the filename, called 'Save as type' when you
save. Set this to 'all files', instead of 'text documents (*.txt)'. This
should fix the automagically added .txt extension.

Joost


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org