|
-
Apr 17th, 2003, 05:29 PM
#1
Apache Server
I've just finished installing and configuring (just a bit) of Apache server. I managed to set the default directory, the default files, and added PHP support.
Is there anything else I need to do, something that is normally done by you guys?
Also, I'm able to access pages by localhost and 127.0.0.1 and frog (my machine name), but not by the IP address of the machine. How can I make it (configure?) so that my web server is accessible by IP address as well?
Thanks.
-
Apr 18th, 2003, 12:18 AM
#2
-
Apr 18th, 2003, 06:19 AM
#3
Another question:
How can I add virtual directories in Apache, just like in IIS/PWS?
I'd like to specify, for example, that
http://localhost/comb/
translates to
c:/comb/
etc.
-
Apr 18th, 2003, 01:06 PM
#4
Fanatic Member
What version of Apache do you have?
If you do have a 2.0.x version, then this post will help you. I don't know anything about Apache 1.3.x. (I don't know much about Apache 2.0.x either, but I managed to install it, with PHP support, as well.)
You can use alias and directory to configure virtual directories.
The following should be present in the original httpd.conf file:
Code:
#
# Aliases: Add here as many aliases as you need (with no limit). The format is
# Alias fakename realname
#
# Note that if you include a trailing / on fakename then the server will
# require it to be present in the URL. So "/icons" isn't aliased in this
# example, only "/icons/". If the fakename is slash-terminated, then the
# realname must also be slash terminated, and if the fakename omits the
# trailing slash, the realname must also omit it.
#
# We include the /icons/ alias for FancyIndexed directory listings. If you
# do not use FancyIndexing, you may comment this out.
#
Alias /icons/ "C:/Program Files/Apache Group/Apache2/icons/"
<Directory "C:/Program Files/Apache Group/Apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
I guess you have to do the same. Look into the documentation what possibilities there are to restrict rights, settings, etc.
About the IP address, maybe you have to configure a virtual host? (See section 3 in the httpd.conf file.)
Good luck,
Riis
-
Apr 19th, 2003, 08:05 AM
#5
I did try that out, and I made this:
Alias /nuke/ "C:/phpnuke/"
<Directory "C:/phpnuke">
Options INdexes Multiviews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
I've copied the <Directory... part without understanding it, and I couldn't find anything in the documentation.
Any further help?
Thanks.
-
Apr 19th, 2003, 09:06 AM
#6
Fanatic Member
try an apache specific board?
-
Apr 20th, 2003, 01:51 AM
#7
Originally posted by siyan
try an apache specific board?
Such as...?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|