This topic is locked

httpd.conf issue that kills Apache

4/11/2008 3:19:25 PM
PHPRunner General questions
W
wex-alpha author

I have problems exactly as described in the following topic.
http://www.asprunner.com/forums/index.php?...p;hl=httpd.conf
Before I searched forum, I spend several hours debugging my WAMP, which sometimes works and sometimes doesn't.
I discovered that there are some lines added to conf file that basically kill apache. Actually I did not see any error from Apache, since I use customized WAMP server
I have several questions regarding this problem, which are possible solutions:

  1. Is this problem occurring only in production? Where I design and develop an application, and if there is issue with httpd.con file I simple remove the problem, and deploy the WAMP

    Will it ever get back if the customer run my product (USB, CD-ROM...)???
  2. If I simply put httpd.conf in read only, will it stop doing it for ever?
  3. If I were to comment out the following code in httpd.conf:
    [codebox]Alias /icons/ "/usr/local/apache2/icons/"

    <Directory "/usr/local/apache2/icons/">

    Options Indexes MultiViews

    AllowOverride None

    Order allow,deny

    Allow from all

    </Directory>
    Alias /docs "/docs/"

    <Directory "/docs/">

    Options Indexes Includes

    AllowOverride All

    Order allow,deny

    Allow from all

    </Directory>[/codebox]
    Explained here is the meaning of it:
    [codebox]#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.

    [/codebox]
    Is that going to kill problem even during production?



W
wex-alpha author 4/14/2008

Are there no opinions on this important issue? <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=27935&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />

S
spintz 4/14/2008

I've already requested that PHPR stops messing with Web Servers. I have problems with IIS, where it screws up the Virtual Directories it creates and my web page won't work until I delete them (the virtual directories ). They need an option to just leave the web server alone and just copy files to a directory.

W
wex-alpha author 4/14/2008

I've already requested that PHPR stops messing with Web Servers. I have problems with IIS, where it screws up the Virtual Directories it creates and my web page won't work until I delete them (the virtual directories ). They need an option to just leave the web server alone and just copy files to a directory.


Signed. It will create more problems for beginners if they keep doing that.
It seems that my solution number 2 works perfectly so far <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=27974&image=1&table=forumreplies' class='bbc_emoticon' alt=':D' />

Sergey Kornilov admin 4/15/2008

We'll add an option not to create a virtual directory.
PHPRunner creates a virtual directory to make life easier for those who cannot modify httpd.conf or manage IIS by hands.
It will help if you contact support team directly at support@xlinesoft.com sending the following info:

error messages if any, httpd.conf file that doesn't work, version of WAMP etc.

W
wex-alpha author 4/16/2008

Thank you Sergey. Keep up the good work <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=28069&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />