Benutzer:Bhofmann: Unterschied zwischen den Versionen

(Die Seite wurde neu angelegt: „<source lang="php"> <?php $v = "string"; // Beispielcode ?> HTML-Text <? echo $v; // Ende des PHP-Codes ?> </source>“)
 
 
                    <?php
    $v = "string";    // Beispielcode
?>
HTML-Text
<?
    echo $v;         // Ende des PHP-Codes
?>

                
                <VirtualHost *:80>

        ServerName SERVERNAME
        ServerAlias SERVERALIAS

        DocumentRoot /var/www/bluespice

        <Directory /var/www/bluespice/>
                Options FollowSymLinks MultiViews
                AllowOverride None
                Require all granted
        </Directory>

        <Directory /var/www/bluespice/images>
                Require all denied
                AllowOverride None
                AddType text/plain .html .htm .shtml .php
        </Directory>

        <Directory /var/www/bluespice/images/bluespice/flexiskin>
                Require all granted
        </Directory>

        <Directory /var/www/bluespice/.git>
                Require all denied
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error-bluespice.log
        CustomLog ${APACHE_LOG_DIR}/access-bluespice.log combined

</VirtualHost>
            
<source lang="php">
        <?php
            
                $v = "string";    // Beispielcode
            
            ?>
        HTML-Text
            <?
            
                echo $v;         // Ende des PHP-Codes
            
            ?>
        </source>
            
<pre><nowiki><VirtualHost *:80>
            

                    ServerName SERVERNAME
            
                    ServerAlias SERVERALIAS
            

                    DocumentRoot /var/www/bluespice
            
<Directory /var/www/bluespice/>
            
                            Options FollowSymLinks MultiViews
            
                            AllowOverride None
            
                            Require all granted
            </Directory>
            
<Directory /var/www/bluespice/images>
            
                            Require all denied
            
                            AllowOverride None
            
                            AddType text/plain .html .htm .shtml .php
            </Directory>
            
<Directory /var/www/bluespice/images/bluespice/flexiskin>
            
                            Require all granted
            </Directory>
            
<Directory /var/www/bluespice/.git>
            
                            Require all denied
            </Directory>
            

                    ErrorLog ${APACHE_LOG_DIR}/error-bluespice.log
            
                    CustomLog ${APACHE_LOG_DIR}/access-bluespice.log combined
            
</VirtualHost></nowiki></pre>
Zeile 3: Zeile 3:
 
     $v = "string";    // Beispielcode
 
     $v = "string";    // Beispielcode
 
?>
 
?>
HTML-Text
 
 
<?
 
<?
 
     echo $v;        // Ende des PHP-Codes
 
     echo $v;        // Ende des PHP-Codes
 
?>
 
?>
 
</source>
 
</source>
 +
 +
<pre><nowiki><VirtualHost *:80>
 +
 +
        ServerName SERVERNAME
 +
        ServerAlias SERVERALIAS
 +
 +
        DocumentRoot /var/www/bluespice
 +
 +
        <Directory /var/www/bluespice/>
 +
                Options FollowSymLinks MultiViews
 +
                AllowOverride None
 +
                Require all granted
 +
        </Directory>
 +
 +
        <Directory /var/www/bluespice/images>
 +
                Require all denied
 +
                AllowOverride None
 +
                AddType text/plain .html .htm .shtml .php
 +
        </Directory>
 +
 +
        <Directory /var/www/bluespice/images/bluespice/flexiskin>
 +
                Require all granted
 +
        </Directory>
 +
 +
        <Directory /var/www/bluespice/.git>
 +
                Require all denied
 +
        </Directory>
 +
 +
        ErrorLog ${APACHE_LOG_DIR}/error-bluespice.log
 +
        CustomLog ${APACHE_LOG_DIR}/access-bluespice.log combined
 +
 +
</VirtualHost></nowiki></pre>