|
#1
|
|||
|
|||
|
Apache webserver,windows xp,edit httpd.conf
Hi folks,
I have just created my first basic webpage using Frontpage,i have downloaded and installed "Apache 2.2.4"the problem being i dont know how to edit my httpd.conf file.I know how to open this file and change and save.I have typed http://localhost/ in to a browser and it says "it works" I just dont know how to put my webpage up.Hope this makes some sense.My webpage i have created is located at "C:\Documents and Settings\nigel\My Documents\My Webs\myweb" so i commented out where it says ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2 and replaced it with "C:\Documents and Settings\nigel\My Documents\My Webs\myweb".Ithen scrolled down to where it says "DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs" and replaced it with the same line "C:\Documents and Settings\nigel\My Documents\My Webs\myweb" but when i restart apache i get an error message saying windows could not start apache2 on local computer for more ionformation review the system event log,If this is a non microsoft service,contact the service vendor.And refer to service-specific error code 1.But when i click on review error log there is nothing there.So if i click on start,all progs,Apache,configure apache server,Test configuruation.It says i have a syntax error on line 206.This is my httpd.conf file startin at line 206 and the a few lines afterwards. </Directory> # # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. # <IfModule dir_module> DirectoryIndex index.html </IfModule> # # The following lines prevent .htaccess and .htpasswd files from being # viewed by Web clients. # <FilesMatch "^\.ht"> Order allow,deny Deny from all </FilesMatch> If any one can give me some guidance much appreciated thanks Nige.
__________________
Linux User:426178 |
|
#2
|
|||
|
|||
|
Ok so can anyone tell me this Frontpage by default uses "C:\Documents and Settings\nigel\My Documents\My Webs" is it possible to change this location to "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs"
I ask this because it is really annoying that when i open Frontpage and click on "File" then "Open" the first place it opens is "My Webs" so i then have to do 20 clicks on the keyboard to locate the file where i wont to save to. Thanks Nige.
__________________
Linux User:426178 |
|
#3
|
|||
|
|||
|
Hi i am know 1 week in to my Frontpage antics,and i have found out the answer to my problem.When you open Frontpage if you click on file scroll down to "publish Web" and left click on it a dialog box will open giving you the option to change where you web page will be published.I simply changed it to my apache folder which is at "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs" problem solved.Its amazing how easy it is when you know how.
Thanks Nige.
__________________
Linux User:426178 |
|
#4
|
||||
|
||||
|
Thanks for the update
__________________
Cheers, Degs Please post back with your results CTH Terms of Use CTH Subscriptions :: Adaware Guide :: HijackThis |
|
#5
|
||||
|
||||
|
Quote:
__________________
Oracle's backup tutorial "A lot of people say games are addictive. Well, they're addictive in the sense that anything you like doing you repeat endlessly. But no one would say, 'Mr Kasparov, you have a chess problem,' or 'Tiger Woods, you have a golf addiction.'" - Ian Livingstone, Creative Director, Eidos. "A problem well stated is a problem half solved" - Charles Franklin Kettering |
|
#6
|
|||
|
|||
|
oracle128 maybe if you get a spare mo you could give me an exact example based on the above problem
![]() thanks for your reply Nige.
__________________
Linux User:426178 |
|
#7
|
||||
|
||||
|
Quote:
Code:
ServerRoot "C:/Documents and Settings/nigel/My Documents/My Webs/myweb"
__________________
Oracle's backup tutorial "A lot of people say games are addictive. Well, they're addictive in the sense that anything you like doing you repeat endlessly. But no one would say, 'Mr Kasparov, you have a chess problem,' or 'Tiger Woods, you have a golf addiction.'" - Ian Livingstone, Creative Director, Eidos. "A problem well stated is a problem half solved" - Charles Franklin Kettering |
![]() |
| Bookmarks |
«
Previous Topic
|
Next Topic
»
| Topic Tools | |
|
|
All times are GMT +1. The time now is 05:25 AM.
[
RSS ]









