If you're using recent versions of Apache web server (1.3.x & above) you
can set the Alias configuration in httpd.conf itself.
If you had installed the binaries (RPM), RedHat places the httpd.conf
under /etc/httpd (or /etc/apache I guess).
Read the docs on mod_alias to setup the virtual directories:
If you had compiled from source (using the default `Apache' layout),
you'll have the httpd.conf under
/path/to/apache/installation/conf/httpd.conf (for GNU layout) you'll
have the httpd.conf under /path/to/apache/installation/etc/httpd.conf.
On Tue, 2004-02-03 at 19:37, Ankit Malhotra wrote:
Well i have been able to solve most of my problems that i had thanks to the
solutions recieved and have decided to do my project in MySQL & PHP.
But i still have one problem. As was mentioned I have to keep all my files
under /var/www/html/ directory. As by default this foldre is not open to all
users and i hav to work in my lab also i would like to know how i can set
virtual folders under Linux as in http://localhost/myfolder/*.* instead of
always giving http://localhost/*.*
I have been unable to locate srm.conf file under my system (RHL 9 with Apache
2.0) & when i write the following PHP script
<? phpinfo(); ?>
to see the PHP config in my browser the seeting for virtual directories comes
as disabled and i dont have any idea how to enable it.
Thanx in advance.
3 cheers for OSS.
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com
Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to
http://airsahara.indiatimes.com and Bid Now !
To unsubscribe, email ilugc-request@xxxxxxxxxxxxxxxxxx with
"unsubscribe <password> address"
in the subject or body of the message.
suggestions or pointers to web sites will be very useful..