Apache2 local web server + Perl 5 + mysql problem

this problem has been bugging me for some months; it's stopping me developing on my new MBP.
I cannot connect to mysql 5.0.45 database when web sharing w/ Apache2 with either Perl 5.8 & Activeperl 5.10 cgi scripts on Mac OS X Leopard 10.5.2 & 10.5.3
Although I can connect to the mysql DB when running the Perl scripts from the command line.
The problem only occurs on my local web server in Mac OS X 10.5.2 & 10.5.3.
On my old development Mac running 10.3 the code runs fine, as it also does on my remote site.
server error log: Can't locate DBD/mysql.pm . . .
I suspect there is a problem somewhere between Apache2, Perl & MySQL.
Please advise.
Sarpedon Jones
Message was edited by: Sarpedon Jones

I've got the same problem but It sounds like I've gotten farther. I was forced to do an emergency move of some Perl and PHP sites to 10.5.4 when our 10.4 web server refused to authenticate to AD anymore...
Leopard's Apache/Perl support is terrible. There is not click to add option anymore so you have to manually set up mod_perl. No big deal but the first sign that there isn't reasonable support.
The bigger issue is that Apple's Perl will not compile some modules.. namely DBD::mysql.
Normally you'd use "cpan" to install the modules you need. The core module for connecting to a mysql database is DBD.. specifically DBD::mysql
You should be able to run "cpan" or "cpanp" [cpan plus] to get a cpan interactive prompt. At this point you should be able to compile DBD by issuing either of the following:
"install DBD::mysql" or
"install Module DBD::mysql"
I've tried this on two installs of OS X Server and that module (and others) will not compile on either system. One of my servers had been set up as a Wiki server before but the other had not been running any web services before I started using it as a test bed for my site move. (BTW these sites are unavailable until I can move them).
There is another bug (noted on mysql's site) with Apple's version of cpan. If you try to add some modules, cpan will report that it needs to install a new, full version of Perl. The recommendation is to not do this, but rather force the install.. "install f DBD::mysql"
Forcing the install is a questionable idea but it doesn't work anyway.
I eventually did install perl 5.0.10 on the system in /usr/ and that does allow me to compile the needed Perl mods. However, the global @INC path has the old Perl paths listed so my perl CGIs will not use the new perl install.
I'm sorry I don't have a solution. Hopefully my troubleshooting will elicit some more feedback.
steven.

Similar Messages

  • Java mysql OK with Terminal but not OK with Apache local web server

    With terminal I have :
    CLASSPATH=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/:/Library/Java/Extensions/:./
    SUDO_GID=20
    SECURITYSESSIONID=210800
    _=/usr/bin/printenv
    127:/Library/WebServer/Documents/Java root# java TestMySQL
    2006-05-21 13:39:00.0 ************************************************** = OK
    127:/Library/WebServer/Documents/Java root#
    import java.sql.*;
    * mysql-connector-java-3.1.12-bin.jar
    *   % javac /Library/WebServer/Documents/Java/TestMySQL.java
    *   % java TestMySQL
    public class TestMySQL {
            public static void main(String argv[]) throws Exception {
                    // Load the driver class
                    Class.forName("org.gjt.mm.mysql.Driver");
    1                //Class theClass = null;
    2               //try {
    3                //    theClass = Thread.currentThread().getContextClassLoader().loadClass("org.gjt.mm.mysql.Driver");
    4                //}
    5                //catch (ClassNotFoundException e) {
    6                //    theClass = getClass().getClassLoader().loadClass("org.gjt.mm.mysql.Driver");
    7                //}
                    Connection conn = DriverManager.getConnection(
                            "jdbc:mysql:///test",
                    Statement stmt = conn.createStatement();
                    ResultSet rset = stmt.executeQuery("SELECT now();");
                    while (rset.next()) {
                            System.out.println(rset.getString(1));
                    // Close result set, statement and DB connection
                    rset.close();
                    stmt.close();
                    conn.close();
    }I have a simple TestMySQL.html file with applet TestMySQL.class in it.
    Nothing but "Applet TestMySQL not inited"
    When I uncomment the try/catch lines (lines 1 to 7) , java compiler generate an error... near getClass().getClassLoader().loadClass("org.gjt.mm.mysql.Driver");
    With "Class.forName("org.gjt.mm.mysql.Driver");" no problem.
    Running MacOS X 10.3.9, Apache/1.3.33 (Darwin) PHP/4.4.1 mod_ssl/2.8.24 OpenSSL/0.9.7i and JVM 1.4.2_09
    Thanks for help.
    P.S. This my first approach to java/mysql but I would like to see this short program running on my local web server ...
    Thanks.

    hi :-)
    can you post the stack trace?
    im not sure what is causing the error because of less info,
    but have you tried to copy the driver of mysql to tomcat lib folder?
    regards,

  • Accesso to Apache Local Web Server Problem

    Hi, i have a problem related to the set up of Apache Local Web Server on Mac OS X Lion 10.7.5.
    I have correctly installed Apache (2.2.24) php (5.3.26) and MySql (5.5.22) but during the web access i get this message: 403 Forbidden and in the error_log i see this:
    [Tue Nov 05 18:55:19 2013] [error] [client 10.202.145.171] client denied by server configuration: /Users/marcopuccetti/Sites/drupal-7.12
    Before this i have modified the configuration of httpd.conf (DocumentRoot) file in order to point the Sites folder "Users/username/sites"; The same for users configuration file.
    I have also enabled the Web Sharing properties in the System Preferences Section.
    Have i to do any other settings?
    Thank you!
    Marco

    Now it works, but i still don't understand why The directory "Sites" has to be named Only UpperCase.
    Marco

  • Local Web Server No Longer Working In ML

    Hello,
    Previous to updating to Mountain Lion, I had my Imac set as a local web server and everything worked fine. After updating to ML, I no longer have local web server access. Also seems that my /etc/apache2/users/USERNAME.conf is gone? Do I need to reset all the files I configured prior to installing ML?
    Thanks JR

    I created a new ect/apache2/users/currentuser.conf with
    <Directory "/Users/username/Sites/">
          Options Indexes MultiViews
          AllowOverride All
          Order allow,deny
          Allow from all
    </Directory>
    But now when I try to view a current site on the Mac, it just lists out the php code and not the page?
    Thanks JR

  • Replace Quotes, Connection Pooling, and Sun Web Server with MySQL, Oracle

    This is code I use to insert data into my MySQL and Oracle databases.
    I takes care of quotes and shows use of context, i.e. when you use Sun Web Server's
    ConnectionPooling. This code works. Feel free to reply if you have questions on how to set up connection pooling using Sun Web Server 6.1SP - it took quite a long time to learn and I couldn't find much information throughout the web, so I hope this helps...
    This is not a question and I am not looking for an answer, but please post comments or suggestions.
    dailysun
    This is in one class where I have a hashtable containing the
    column name / value pairs that I want to enter into my table.
    This class simply creates the SQL string from the values in the
    hashtable. It then passes that hashtable including the database
    name to a class which executes that sql statement (second code
    portion).
    /* Insert data into sf_parts. Create the column strings from
             * the provided hash table. Be sure to parse out hash elements which
             * are used for the createTemplate process
            StringBuffer values = new StringBuffer();
            StringBuffer fields = new StringBuffer();
            Enumeration keys = fieldHash.keys();
            while(keys.hasMoreElements()){
                Object currentKey = keys.nextElement();
                    String fieldValue = (String) fieldHash.get(currentKey);
                    if(values.length() >0){
                        values.append(",");
                    values.append("'"+fieldValue.replaceAll("'","''")+"'"); // Takes care of quotes and various other special characters!
                    if(fields.length() >0){
                        fields.append(",");
                    fields.append(currentKey);
            sql = "INSERT INTO myTable (" + fields.toString() + ") VALUES (" + values.toString() + ");";
            String insertResult = caq.getInsertDelete(sql,"myDatabaseName"); // your database name is defined in web.xml and sun-web.xml when you use Sun Web Server's Connection Pooling.
            returnValue += "<br><br><b>Rows inserted into table(myTable): </b>" + insertResult + "<br>\n";
            And, like I describe above, this method executes the sql statement.
         * Takes care of insert, update and delete requests.
         * Must have set both dbName as well as the sql String.
         * Will return number of rows affected as String.
         * @return String Number of rows affected
         * @exception SQLException
         * @exception Exception
        public String getInsertDelete() {
            checkData(); // this simply checks if the variables dbName and sql are not empty ;-)
            InitialContext initContext = null;
            int rv = 0;
            try{
                // Get connection from configured pool
                initContext = new InitialContext();
                source = (DataSource) initContext.lookup("java:comp/env/jdbc/" + dbName); // I have this set up in web.xml and sun-web.xml (I use Sun Web Server 6.1SP which does connection pooling for me)
                conn = source.getConnection();
                if(conn != null){
                    stmt = conn.createStatement();
                    rv = stmt.executeUpdate(sql);
            }catch (SQLException e){
                // do something
            }catch (Exception e){
                // do something
            }finally{
                try{
                    stmt.close();
                }catch(Exception e){
                    // do something
                try{
                    conn.close();
                }catch(Exception e){
                    // do something
                try{
                    initContext.close();
                }catch(Exception e){
                    // do something
            return rv+"";
        }  

    This is code I use to insert data into my MySQL and
    Oracle databases.
    I takes care of quotes and shows use of context, i.e.
    when you use Sun Web Server's
    ConnectionPooling. This code works. Feel free to
    reply if you have questions on how to set up
    connection pooling using Sun Web Server 6.1SP - it
    took quite a long time to learn and I couldn't find
    much information throughout the web, so I hope this
    helps...
    This is not a question and I am not looking for an
    answer, but please post comments or suggestions.Using prepared statements would mean that you wouldn't have to worry about quotes.
    You should be closing the result set.
    You are handling all fields as strings. That won't work with time fields and might not work for numeric fields.
    Presumably most of your variables are member variables. They should be local variables because that is the scope of the usage.
    You must do something with the exceptions.
    Hashtables although convienent mean that problems with usage can only be resolved at run time rather than compile time.

  • Access websites hosted on local web server

    Hi there,
    I have a Cisco ASA 5505 in my home office which has a few PCs behind it with a linux web server running some websites. I can access the websites from outside no problem (i.e. on my iPhone using a 3G connection). However, I struggle to access the websites from within the network. The ASA gives me this error:
    6
    May 05 2013
    11:52:27
    192.168.55.61
    50420
    Failed to locate egress interface for TCP from inside:192.168.55.61/50420 to 86.*.*.*/80
    ASA runs version 9. Here is the config bit:
    object network denon-server
    host 192.168.55.200
    access-list outside_access_in extended permit tcp any object denon-server eq www
    object network denon-server
    nat (any,outside) static interface service tcp www www
    Any suggestions?

    Hi,
    I assume that you are trying to reach the LAN server with the public IP address that the ASA holds and also uses for the above Port Forward / Static PAT configuration?
    If this is the situation then I am afraid that with the current configuration that is not possible. The NAT configuration towards Internet is done between probably "inside" and "outside". So "outside" interface holds the public IP address. ASA doesnt let you connect to that "outside" IP address from behind the "inside" IP address. (Or any other interface for that matter)
    What you could try to do is configure a NAT that would enable you to use the public IP address of the server even when connecting from the "inside" of ASA.
    Try this
    object network SERVER-LOCAL
    host 192.168.55.200
    object network SERVER-PUBLIC
    host 86.x.x.x
    object network LAN
    subnet 192.168.55.0 255.255.255.0
    nat (inside,inside) source dynamic LAN interface destination static SERVER-PUBLIC SERVER-LOCAL
    Where
    SERVER-LOCAL = Is the "object" that defines the real IP address of the server
    SERVER-PUBLIC = Is the "object" that defines the public IP address of the server (that ASA holds on its "outside")
    LAN = Is the "object" that defines the subnet from where LAN users connect to the server public IP address
    Check that the network mask is correct for the LAN and fill in the public IP address.
    The actual NAT configuration tells the ASA this
    When a connection from LAN is coming towards SERVER-PUBLIC then UN-NAT SERVER-PUBLIC to SERVER-LOCAL and NAT LAN to "inside" interface IP address (as defined by the parameter "interface" in the configuration)
    This should enable the LAN hosts to use the public IP address to connect to the server. The server though will see the connections coming from the ASA "inside" interface IP address.
    Hope this helps
    Please remember to mark a correct reply as the correct answer if it did answer. And/or rate helpfull answers
    Ask more if needed.
    - Jouni

  • Local web server not being recognized

    I setup a web server on my LAN specifically so both a PC and a Mac could use HTTP protocol and store and retrieve files. The servername is called UBUNTU. On any PC in the house I can type http://ubuntu/ and the directory listing appears. The Mac can not find it.
    If I use the IP address, the server is recognized. The directory listing appears. And, when I use FTP in Terminal I can even get a file upload to work as long as the file is in the same directory I started the FTP. But, this Mickey Mouse will just not work for my application. What I want to do is schedule a daily upload of newly created music from the days work. If the producers did not like this Mac, I would trash it. I am so frustrated!
    This is the first time I've used a Mac and so far I find it to be way overrated. I mean, how many computers can not access a web server out of the box? The Safari browser I am using has no trouble accessing the Internet but my "intranet" seems to baffle Safari. I would expect a problem if using SMB were a requirement. It is not - I simply want to use HTTP. How do I need to change the Mac configuration so that it works?

    Thanks for all your help.
    Oh well, the music producer using the Mac just installed Yummy and immediately did the uploads he wanted to do. Yummy also has a scheduling function so the Mac will be able to use Yummy on the producer's schedule. (I usually use FileZilla and had never heard of Yummy.)
    Meanwhile, I was trying to get SMB working from the Mac but was never successful. As I mentioned earlier, I've never had success with Samba on Linux. This time was no exception. In this particular case, the Mac would not accept the username and password. I had specifically done smbpasswd -a username and used the same password and username that I had been using for FTP activity.
    However, when I got to the Mac SMB/CIFS screen it demanded 3 things: workgroup, NAME and password. BUT, the name of the Mac box automatically appeared in the NAME field on that screen. If I tried changing that to the username, there was no success at all. So, I went to the Samba box and added the name of the Mac box as a username.
    It was at that point that the producer told me he installed Yummy and was successful in uploading the music. I doubt he will let me have any more time on the Mac box for testing. I guess it is just as well since I had previously told him FTP was the way to go and SMB/CIFS was not something he had ever heard.
    Thanks for all your help.
    Contrary to your opinion, I guess I feel that the most important things that happened in this exercise were, "the sounds about how it should be so easy but just wasn't working". I just hope folks from Apple, Microsoft and the Linux world stumble across these comments occasionally.
    The bottom line is that the end user did not care how the job got done. The end user did not care what operating system nor what software technology was used. He just wanted the job done immediately. And, he had recalled a past experience where the Mac could not handle the job without a third-party FTP application.
    Here's the future challenge for 3 programmers and 9 computers. Setup 3 rooms each with a PC, Linux, and a Mac box. Put a knowledgeable programmer from each of those separate worlds in each separate room. It's OK to have an Internet connection so they can get documentation. The task is to get scheduled uploads operational between all the boxes in each room without using 3rd-party software. I think a reasonable time would be far less than 10 minutes including verification tests between steps. Some folks might take most of that time just to read http://www.mattvanstone.com/2007/11/automatically-mounting-windows-smb-shares-in -ubuntu-v3/
    so, perhaps the programmers' time is better spent on an FTP approach which might be more common setup and terminology among those three box types.
    The winner gets his name on the resulting paper and website he creates to document how he made it so easy. The losers must come to his website each day for a year just to see his advertising.

  • ColdFusion 9 Web Server Configuration Tool  problem

    I am using:
    ColdFusion 9.01
    Oracle iPlanet Web Server 7.0.13
    Windows 2008 R2 Standard
    When I try to use the Web Server Configuration Tool, I get the following message:   warning "connectors/nsapi/intel-win64/prebuilt/jrun_nsapi.dll".  Could it be an incompatability with the versions of software that I am using?  Has anyone successfully configured ColdFusion 9.01 with Oracle iPlanet Web Server 7.0.13?
    I can't get past this message (see below).
    The wsconfig.log file has the following:
    02/14 00:39:57 debug Parsing Sun ONE Web Server (iPlanet) configuration file G:\Program Files\Oracle\WebServer7\https-CFAdmin\config\magnus.conf
    02/14 00:39:57 debug Parsing Sun ONE Web Server (iPlanet) configuration file G:\Program Files\Oracle\WebServer7\https-CFAdmin\config\obj.conf
    02/14 00:39:57 error connectors/nsapi/intel-win64/prebuilt/jrun_nsapi.dll
    java.io.FileNotFoundException: connectors/nsapi/intel-win64/prebuilt/jrun_nsapi.dll
        at jrunx.connectorinstaller.JarUtils.extractToFile(JarUtils.java:72)
        at jrunx.connectorinstaller.CIUtil.extractConnector(CIUtil.java:274)
        at jrunx.connectorinstaller.iPlanetInstaller.installConnector(iPlanetInstaller.java:136)
        at jrunx.connectorinstaller.ConnectorInstaller.installConnector(ConnectorInstaller.java:341)
        at jrunx.connectorinstaller.ConnectorInstaller.doIt(ConnectorInstaller.java:275)
        at jrunx.connectorinstaller.ConnectorInstaller.main(ConnectorInstaller.java:765)

    I'm using  Solaris 10 SPARC, iPlanet 7.0.15, and I'm not going to use Apache!
    Note: I made a slight modification to the LD_LIBRARY_PATH_64 reference in the startup script for iPlanet.
    You have to do this to make the virtual server use the 64-bit libraries.
    vi /sun/webserver7/https-<config_name>/bin/startserv
    look for this line:
        LD_LIBRARY_PATH_64="${SERVER_LIB_PATH_64}:${SERVER_JVM_LIBPATH}:${LD_LIBRARY_PATH_64}"; export LD_LIBRARY_PATH_64
    and change it to this line:
        LD_LIBRARY_PATH_64="${SERVER_LIB_PATH_64}:${SERVER_JVM_LIBPATH}:${LD_LIBRARY_PATH_64}:/us r/sfw/lib/sparcv9"; export LD_LIBRARY_PATH_64
    I'm moving from CF8 ENT to CF9 ENT.
    Here's the problem: iPlanet virtual server is configured for 64-bit operation; the connector in CF9 is 32-bit.
    Question: What Program is Making this file ---> libjrun_nsapi.so ??
    I'm assuming CF is creating it, so try to follow my logic here.....
    CF9 doesn't want to produce libjrun_nsapi.so in 64-bit mode.
    The file is located here:
    /opt/coldfusion9/runtime/lib/wsconfig/1/libjrun_nsapi.so
    Instead it spits out a 32-bit file....
    # file libjrun_nsapi.so
    libjrun_nsapi.so:       ELF 32-bit MSB dynamic lib SPARC32PLUS Version 1, V8+ Required, dynamically linked, not stripped, no debugging information avail
    It's supposed to look something like this:
    # file libjrun_nsapi.so
    libjrun_nsapi.so:       ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped
    I found out that when I use CF8, the installer asks for 64-bit configuration during install,
    AND the initial startup makes the 64-bit connector.
    In CF9...no such menu item; it doesn't mention 32/64 bit anything.
    How do you force CF9 to produce a 64-bit libjrun_nsapi.so file?
    This creates the 32-bit file...
    cf_root/runtime/bin/wsconfig -server coldfusion -ws sunone -dir /sun/webserver7/<config-name>/config -coldfusion -v
    When I add -ws64 it breaks the script....
    cf_root/runtime/bin/wsconfig -server coldfusion -ws64 sunone -dir /sun/webserver7/<config-name>/config -coldfusion -v
    How do you force CF9 to produce a 64-bit libjrun_nsapi.so file?
    FYI:  I grabbed the libjrun_nsapi.so file from my CF8 ENT install, and used it in my CF9 ENT install.
    No errors from the web server, but it's running dirt-slow now.
    Could be the file because the libjrun_nsapi.so was created to connect with CF8, not CF9 !?
    How do you force CF9 to produce a 64-bit libjrun_nsapi.so file?

  • Web server config tool problem

    Hi, I just installed coldfusion 702. At the end got an error
    that I need to manually configure web server through the tool. When
    I open the tool it does not show any existing servers. I have
    checked - IIS is running. I can access the localhost page.
    Coldfusion server is running. Checked that in control
    panel>administrative services>services. I have disabled all
    firewalls, antivirus, privacy service. I am using XP sp2. Have read
    through forums and tech notes - no luck. Any advise would be
    greatly appreciated. The wsconfig log shows the following error
    message:
    "error Could not connect to any JRun/ColdFusion servers on
    host localhost.
    Possible causes:
    o Server not running
    -Start Macromedia JRun4 or ColdFusion MX server
    o Server running
    -JNDI listen port in jndi.properties blocked by TCP/IP
    filtering or firewall
    on server
    -host restriction in security.properties blocking
    communication with server
    jrunx.connectorinstaller.NoServerException: Could not connect
    to any JRun/ColdFusion servers on host localhost.
    Possible causes:
    o Server not running
    -Start Macromedia JRun4 or ColdFusion MX server
    o Server running
    -JNDI listen port in jndi.properties blocked by TCP/IP
    filtering or firewall
    on server
    -host restriction in security.properties blocking
    communication with server
    at
    jrunx.connectorinstaller.CIJndi.findServers(CIJndi.java:477)
    at
    jrunx.connectorinstaller.CIJndi.<init>(CIJndi.java:141)
    at
    jrunx.connectorinstaller.CIJndi.<init>(CIJndi.java:147)
    at
    jrunx.connectorinstaller.ConnectorInstaller.parseArgs(ConnectorInstaller.java:228)
    at
    jrunx.connectorinstaller.ConnectorInstaller.<init>(ConnectorInstaller.java:56)
    at
    jrunx.connectorinstaller.ConnectorInstaller.main(ConnectorInstaller.java:750)"

    I am having this same problem. I have uninstalled Windows
    Defender and disabled Windows Firewall and no matter what I do, the
    wsconfig utility does not find any servers on localhost. I do get
    the Add/Exit buttons, but when I click Add, I don't get anything.
    I've modified C:/CFusionMX7/runtime/lib/security.properties
    to include:
    jrun.trusted.hosts=localhost,127.0.0.1
    Which jndi.properties should I look at?
    C:\CFusionMX7\runtime\lib\client\CLIENT-INF or
    C:\CFusionMX7\runtime\servers\coldfusion\SERVER-INF
    Should either of these files be modified?
    Restarting Coldfusion has not made a difference.

  • Newbie, How Do you transfer a site from Remote Host to Local Web Server

    already exists to my local IIS server. I cannot figure it
    out. I keep going in circles with Manage Sites, creating the folder
    in the Inetpub/wwwroot folder and I need some help to get the whole
    site locally so I can work on it. I use to use Frontpage but my
    developers cannot stand the extra code it puts in and it's not
    google friendly. So I decided to use Dreamweaver to create and
    manage my sites.
    Thanks for all the help in advance.

    In the file panel, view the remote site and select the top
    level folder. Then right click and select get.

  • Can't connect to local web server

    I'm not quite sure when this happened; I think it was upgrading to iPhoneOS 3.x but I can't swear to that (currently running 3.1). Anyway, the problem is that, whether from my app or even simply using Safari, I can't connect to a local webserver. If I'm on one computer in my office (working over WiFi just like my iPhone), and type "http://192.168.1.110/file", where 110 is a different computer, Safari will display the page just fine. But if I'm using my iPhone in the office, on the same network, and type the same URL, it will not connect. For SURE this used to work, and I haven't changed any settings on my network or on my iPhone for that matter.
    No problem with connecting to external websites, clearly.

    Web services are not relevant to DNS host names.  You'll need to configure a default domain name for whatever is being used as the local domain, whether that is established via System Preferences or via DHCP settings.  If your Windows box is running a DNS server, you'll need to set the Mac DNS resolver address at the Windows DNS server.

  • Use Airport Extreme Disk as a local web server

    Hello!
    I have an Airport Extreme (802.11n) with a hard disk connected and shared using Airport Disk. I'd like to install Apache HTTP server on the connected drive so that I can host a local (available to intranet users only) web site. I am running into an error compiling Apache 2.2.9, but I'm thinking it might be a limitation of what is possible on an airport disk. Does anyone have any suggestions? I'd really appreciate it! Thanks.
    Best,
    Jay

    Duane:
    Thank you for your response. Maybe Apple file share can help me accomplish what I want but I think FTP is the easiest means for my needs. Ill have to do more research. Ultimately, I want other people to be able to send my digital files ( up to 2-3 GB at a time) . Now I , have a converted Windows machine going through a linksys router. That was relativly easy to set up as a server able to receive FTP. I was hoping I could reduce all that machine and energy down to a single HD but it looks like that is not possible.

  • ASP Connection to MS SQL Local Web Server

    I have managed to set up a local server and dreamweaver
    recognises that it is working. I installed the free MS SQL server.
    I have created some ASP pages that are working in a web
    browser when i test them. But when i try to update my local MS SQL
    server it gives me these two different errors:
    1) A connection was successfully established with the server,
    but then an error occured during the login process. (provider:
    Shared Memory Provider, error: 0 - No process is on the other end
    of the pipe.)
    2)Login failed for user "x". The user is not associated with
    a trusted SQL Server connection.
    I know these pages work on another server so i think it is to
    do with my user id and password. What are these values meant to be?
    The user and password that i have registered on my computer /
    network? Or are they specific to the database?
    Or any other ideas?
    Thanks

    It is the username and password on the database itself
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "BertsMilsky" <[email protected]> wrote in
    message
    news:en4aub$qlh$[email protected]..
    >I have managed to set up a local server and dreamweaver
    recognises that it
    >is
    > working. I installed the free MS SQL server.
    >
    > I have created some ASP pages that are working in a web
    browser when i
    > test
    > them. But when i try to update my local MS SQL server it
    gives me these
    > two
    > different errors:
    >
    > 1) A connection was successfully established with the
    server, but then an
    > error occured during the login process. (provider:
    Shared Memory Provider,
    > error: 0 - No process is on the other end of the pipe.)
    >
    > 2)Login failed for user "x". The user is not associated
    with a trusted SQL
    > Server connection.
    >
    > I know these pages work on another server so i think it
    is to do with my
    > user
    > id and password. What are these values meant to be? The
    user and password
    > that
    > i have registered on my computer / network? Or are they
    specific to the
    > database?
    >
    > Or any other ideas?
    >
    > Thanks
    >
    >

  • Web server default address problem

    When I installed the new Xserve with Leopard Server to replace an old G4 running OSX 10.3 server my default Web address changed from: http://xxxx.xxxx.xxx to http://xxxx.xxxx.xxx/groups/workgroup/
    I just want it to go back to the original way it was. I'm living in a Windows world and I'm the only Mac person here.
    Any help would be appreciated.

    I had the same problem this morning with a clean install of 10.5 Leopard Server.
    I called apple and spoke to a really good guy who ran through a diagnosis with me and advised that under server admin you have your default site built in, what to do is click on that original site then there is a little box under it where you are able to duplicate the site, click this, then basically make everything the same and try through safari and it should work, mine works perfect now.
    I asked him why this happens and a easy answer was oh its a glitch we aim to fix it as soon as possible.
    Hope this helps

  • Root-relative links & local testing server

    Yesterday I figured out that I'd have to use root-relative links in an included SSI file so that it would work from both templates and pages in my main directory (or other directories, for that matter), e.g., 'src=/image/picture.jpg'. However, since my site is PHP, in order to test the pages or even to use Live View, I have to make use of a "testing server". I did this without much trouble using a package called EasyPHP, which sets up a local web server as well as the PHP module, MySQL support, etc. This all works very well.
    The problem is that, in order to support several web sites, I have to use a "virtual directory" spec to direct the web server to the correct location for my site's files. In the setup for the testing server, I therefore have to specify a URL prefix such as 'http://localhost/corinthian' for this particular site. That has worked previously, but breaks when using root-relative links since the server sees the "root" as being the main "localhost" directory instead of "localhost/corinthian". So now my SSI doesn't display correctly because it's not being resolved to the correct directories.
    I don't think that this is fixable unless someone else has run into it and can think of some gimmick I could try. Anyone? Breaking out some of my code into an SSI has definitely been more of a challenge than I expected!

    I use 1&1 Internet as my hosting service. They apparently have my site set up in a virtual directory / virtual host fashion. Going to http://corinthian241.org, the root directory for root-relative links would have to be the directory pointed to by the URL. However, running phpinfo.php on the site shows the following result for $_SERVER['DOCUMENT_ROOT']: '/kunden/homepages/29/d246935068/htdocs/corinthian'.
    So I'm pretty sure that a link from a page in my site home directory using this as a prefix would definitely not work, since the first "/" implies starting in the "corinthian" subdirectory -- not the real root of the server itself. Correct?
      Doug

Maybe you are looking for

  • Ipad and scanners

    Hello, I have a HP Officejet Pro 8500 All-in-One Printer - A909a and I am trying to connect my ipad mini to that, for scanning purpose. I downloaded the the HP e-print and HP AIO remote apps and unfortunately I was not able to scan the pictures yet.

  • New features for iTunes 7.1

    Where can I find the new features for iTunes 7.1? Thank you

  • Deleting records - mySQL / PHP

    I've just worked through this whole database thing from scratch again after a little glitch, and it's all working pretty well. I do still have the issue with deleting records - I have the search results page which is fine, and has a delete options at

  • Type parameter in 'add' method of 'ArrayList'

    My little application utilizes an object of type 'ArrayList', especially because this class enables the size increment of the list by successive actions after its creation. http://java.sun.com/javase/6/docs/api/ shows that I can use the method '*add(

  • I want to delete all textures that were previously made

    This Part was created and given colors in CATIA. I now imported it into Photoshop to create some more realistic textures and what not to it. Although the original textures are still there. Not sure how to just start fresh and make all new textures...