#46
  1. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    thanks too !!!


  2. #47
  3. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    help with proper mapping for virtual sites


    Hi,

    I inhereted a site and i am trying to fix annoying way that it was set up.

    right now the site map looks something like
    domain.com
    domain.com/java # where the java files go
    domain.com/docs # this is the actual root directory in httpd.conf file

    so to access my jsp pages you have type domain.com/java and then it will go to the java directory. i would like it to automatically go straight to the java directory for all web requests, so i changed the document root in the http.conf file, but now its not processing the java pages

    here is what my virt host conf looks like

    <VirtualHost 255.255.255.255>
    ServerName domain.com
    ServerAlias www.domain.com mail.domain.com
    DocumentRoot /home/domains/domain.com/java
    ErrorLog /home/domains/domain.com/logs/domain.com-error_log
    CustomLog /home/domains/domain.com/logs/domain.com-access_log common
    Bandwidth all 640000
    BandwidthModule On
    MinBandwidth all -1
    <Directory "/home/domains/domain.com/java">
    AllowOverride All
    </Directory>
    <IfModule mod_cgi.c>
    #ScriptAlias /cgi-bin/ "/home/domains/domain.com/cgi-bin/"
    </IfModule>
    <Directory "/home/domains/domain.com/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    <IfModule mod_php4.c>
    php_flag engine On
    </IfModule>
    AddType text/html .shtml
    AddHandler server-parsed .shtm
    # Is the Jakarta (JK) Module installed? This allows access to
    # the Tomcat Engine (/usr/local/tomcat) to serve up Servlets
    # and JSP files ....
    #
    # In the code below, we make an alias of /java to go to the
    # Jakarta engine. However, files not in the WEB-INF directory
    # (like gif images and static HTML files, but not JSP files)
    # should be simply served up by Apache ...
    <IfModule mod_jk.c>
    JkLogFile /home/domains/domain.com/logs/domain.com-java_log
    JkLogLevel warn
    JkMount /*.jsp ajp12
    #JkMount /java/*.jsp ajp12
    Alias /java /home/domains/domain.com/java
    #Alias / /home/domains/domain.com/java
    <Directory "/home/domains/domain.com/java">
    Options Indexes FollowSymLinks
    </Directory>
    <Location /java/WEB-INF/ >
    AllowOverride None
    deny from all
    </Location>
    JkMount /java/* ajp12
    #JkMount /*.jsp ajp12
    </IfModule>
    </VirtualHost>

    thanks for any help
  4. #48
  5. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: 500 error on JSP examples


    test
  6. #49
  7. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)
  8. #50
  9. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: What about IIS??


    plss tell me where to place jsp's on IIs and how to run?
  10. #51
  11. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Doesn't run under WinMe


    This step-by-step article is excellent as many others of this site, but its first line should be "doesn't run under WinME, 98 and 95".

    For beginers like me, this remark would have saved time.
  12. #52
  13. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)
  14. #53
  15. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    driver needs file permissions


    So I ran into a problem not mentioned. I'm migrating from an existing (development) machine to our production server and when I copied the files over I didn't check their permissions: the owner of the mySQL process (and the mm.mySQL driver too I think) need to have permisstion to access your data files. The command to do this is chmod for those who may not know it.
  16. #54
  17. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Wheres the article?


    Does anyone know where the 'connecting the dots' part of the article is? I really need it to complete my windows tomcat installation
  18. #55
  19. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2002
    Location
    Manchester UK
    Posts
    2
    Rep Power
    0

    jsp on IIS


    Hi all, i'm trying to find out what i need to set up on IIS5 to run .jsp web files.
    Does any body know the answers to this lovely question..
  20. #56
  21. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2002
    Posts
    259
    Rep Power
    13

    Tomcat problems


    When I try the following:

    c:\tomcat\bin>tomcat start

    I get the following error:

    "Unable to locate servlet.jar, check the value of TOMCAT_HOME"

    does anyone know how to fix this?
  22. #57
  23. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: jsp on IIS


    Free eval of JRUN from macromedia - supports JSP on IIS and other web servers. The licensed version is expensive - $900
    good luck.
  24. #58
  25. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2002
    Location
    Manchester UK
    Posts
    2
    Rep Power
    0

    Re: jsp on IIS


    thanks a lot for your reply i'll go and have a look.
  26. #59
  27. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    apache & IIS


    If I load apache on a Win 2000 machine, can I still run IIS if I assign a differnt TCP/IP port number to either web server?

    Will this have any negative affects on the rest of the java environment, aside from needing to remeber the port designation on pages, calle, etc.?
  28. #60
  29. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2002
    Posts
    2
    Rep Power
    0

    strange localhost problem


    i'm stuck on the part of the localhost testing. the only message i'm getting is "Cannot find server".

    i'm running winxp pro and there are no ping problems when i tested the ping.

    any suggestions?

IMN logo majestic logo threadwatch logo seochat tools logo